[Date Prev][Date Next]
Re: max open files
On Fri, Mar 12, 2010 at 7:10 AM, Aaron Richton <email@example.com>
Sounds like you're mostly on the right track, but I didn't hear mention of compiling with a suitable OPENLDAP_FD_SETSIZE. Are your CPPFLAGS set accordingly?
On Wed, 10 Mar 2010, Klemens Kittan wrote:
Mar 1 14:45:15 ldap1 slapd: warning: /etc/hosts.allow, line 19:
cannot open /etc/hosts.allow: Too many open files
cat /proc/<slapd pid>/limits:
Max open files 4096 4096 files
Few weeks ago I had a similar issue, I found this thread very useful: http://www.sunmanagers.org/pipermail/summaries/2005-March/006226.html but at the end the issue seemed to come from avahi daemon. I'm not familiar with avahi but the config had:
The machine restarted and started avahi(it was stopped before but not disabled) and when ldap started to get some connections I received the same output:
Feb 18 00:49:05 ldap01 slapd: warning: cannot open /etc/hosts.deny: Too many open files
Hope that helps.