FileDescriptors exhausted
by Tobias Ernstberger
Hello,
we're observing the following error message:
"ERR - accept_and_configure - PR_Accept() failed, Netscape Portable Runtime error -5971 (Process open FD table is full.)"
Looks like the file descriptors are exhausted, probably mainly used by incoming TCP Connections (based on our investigation regarding open FDs).
We've set (and checked using the runtime information in /proc/PID/limits) the ulimits and the nsslapd-maxdescriptors to many thousands (while having about 1000 open connection regularly)
We are investigating in multiple directions here, and have some questions - any input is appreciated:
1) We acknowledge that exhausted FDs prevent additional connections to be opened. But we also see, that existing connections are getting unusable, too. Is this a known behaviour? Can this be avoided?
2) Is there any chance to limit the number of open connections (lower than the max FDs)? (trying to achieve that existing connections still work)
3) What are best practice to prevent the ldap server from getting completely useless (until restart) if a client opens many connections?
4) Any additional remarks to prevent this situation?
Kind regards
Tobias Ernstberger
IBM Security
IBM Deutschland GmbH
Vorsitzender des Aufsichtsrats: Sebastian Krause
Geschäftsführung: Gregor Pillen (Vorsitzender), Nicole Reimer, Gabriele Schwarenthorer, Christine Rupp, Frank Theisen
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 14562 / WEEE-Reg.-Nr. DE 99369940
https://www.ibm.com/privacy/us/en/
2 months, 2 weeks
Upgrading from 1.2.2 to 1.4.4
by Julian Kippels
Hi,
I am currently in the process of moving our LDAP-Servers from old
CentOS 7 Servers to new Debian 11 Servers. In the process I am
exporting all databases from the old server to ldif files and importing
those files on the new server.
When I import such a file I get a lot (basically for every single entry)
of warnings and errors in the errors-log like the following:
[08/Nov/2022:21:01:52.272475719 +0100] - ERR - oc_check_allowed_sv - Entry "cn=219058,ou=accounts,o=demo" -- attribute "entrylevelrights" not allowed
[08/Nov/2022:21:01:52.273547001 +0100] - WARN - import_producer - import demo: Skipping entry "cn=219058,ou=accounts,o=demo" which violates schema, ending line 9232514 of file "/var/lib/dirsrv/slapd-ldap-master/ldif/demo.ldif"
I can't make heads or tails of this. I exported the ldif using the
389-console using "Export Databases" and I import them via Cockpit
using "Initialize Suffix" for the Suffix o=demo
I cannot find this attribute in any schema-file on either the old or
the new servers. Where does this come from, and how do I solve this
issue?
Thanks in advance
Julian
2 months, 3 weeks