Skip to content

Netbox Consuming 100% of CPU over time with LDAP authentication enabled #5194

@nniehoff

Description

@nniehoff

Environment

  • Python version: 3.7.6
  • NetBox version: 2.9.4

Steps to Reproduce

  1. Configure LDAP authentication, following the documentation here using a Microsoft Active Directory server as the LDAP server. Some key configurations to note:
    1a. Our AUTH_LDAP_SERVER_URI is an ldaps endpoint.
    1b. AUTH_LDAP_GROUP_TYPE is set to NestedActiveDirectoryGroupType()
  2. Log on/Log off several times over a several hour period

Expected Behavior

Netbox should run with no noticeable increase in CPU usage over time.

Observed Behavior

Over the course of several (appx 8 in our case) hours the CPU usage of uwsgi serving netbox increases gradually over time until it is using 100% of the CPU.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: duplicateThis issue has already been raised

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions