Skip to content

Possible memory issue due to LDAP plugin #82

@gregbook

Description

@gregbook

Hey!

Recently updated our installation of verdaccio and we start seeing an increase of memory over time until verdaccio is OOM.

We were previously running:

"verdaccio": "^3.8.2",
"verdaccio-ldap": "^2.3.0

We are now running:

"verdaccio": "^4.8.1",
"verdaccio-audit": "^9.7.3",
"verdaccio-ldap": "^4.2.0"

I could reproduce the OOM by querying with siege the /-/whoami endpoint with an authenticated user. Requests to our LDAP would work fine until OOM occurred. I suspect (but not sure) that the LDAP plugin could be at play here...

I turned on LDAP auth cache and it helped a bit but OOM ended up happening again over time.

Possibly related? ldapjs/node-ldapjs#605

Environment info:

  • Runs in kubernetes
  • Use node 12

If you need more information please let me know.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions