Re: How to raise the open file descriptor limit for slapd?

2005-10-05 Thread David Landgren
matthew sporleder wrote: You should be able to set ulimit values in your daemon's init script, or set them system-wide. Not quite. I have already adjusted ulimits for slapd. Before, I specified nothing, and started receiving Sep 29 15:26:30 ns1 slapd[3244]: daemon: accept(6) failed errno=24

Re: How to raise the open file descriptor limit for slapd?

2005-10-05 Thread Robert Petkus
I was able to get past the fd limit on Linux. Aside from the /etc/security/limits.conf mod: * softnofile 4096 * hardnofile 4096 You need to add to /etc/pam.d/other sessionrequired pam_limits.so Then restart your slapd process.

Re: How to raise the open file descriptor limit for slapd?

2005-10-05 Thread Howard Chu
David Landgren wrote: It is Linux as it happens. We added * hardnofile 4096 to /etc/security/limits.conf at the same time that we added ulimit -n 4096 to the init.d script for ldap. All this did was to change the syslog error message from daemon: accept(6) failed errno=24

Re: How to raise the open file descriptor limit for slapd?

2005-10-04 Thread matthew sporleder
You should be able to set ulimit values in your daemon's init script, or set them system-wide. _Matt On 10/4/05, David Landgren [EMAIL PROTECTED] wrote: List, I have a fairly heavily used openldap-2.2.28 server in production and I am running into the 1024 fd descriptor limit. From time to