Skip to content

openldap-server buckles under load due to file descriptor limit #181

Description

@bahamat

http://www.openldap.org/faq/data/cache/1126.html

OpenLDAP has a hard coded limit limit of 4096 file descriptors. Documentation suggests using the following compile time flag:

env CPPFLAGS="-DOPENLDAP_FD_SETSIZE=8192" ./configure

This should (based on what I'm reading) work at least as far back as 2.2.30. Older versions may need to use the following instead.

env CPPFLAGS="-DFD_SETSIZE=8192" ./configure

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions