[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Too many open files



Usually this is not the problem of the application but that of the underlying
operating system. You need to configure more available filedescriptors per
process. See e.g. http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.4 for
how to accomplish that.
You can also try to reduce the number of fds needed by lowering the
idletimeout setting in slapd.conf.

Markus

Benoit.Le_Bras@alcatel.fr wrote:
> 
>  Hi All,
> 
> I have this problem in my log file:
> 
> Feb 18 02:47:55 sunums last message repeated 593566 times
> Feb 18 02:47:55 sunums slapd[5345]: daemon: accept(7) failed errno=24 (Too many open files)
> Feb 18 02:54:35 sunums last message repeated 587880 times
> Feb 18 02:54:35 sunums slapd[5345]: daemon: accept(7) failed errno=24 (Too many open files)
> Feb 18 03:01:15 sunums last message repeated 588576 times
> Feb 18 03:01:15 sunums slapd[5345]: daemon: accept(7) failed errno=24 (Too many open files)
> Feb 18 03:07:55 sunums last message repeated 587235 times
> Feb 18 03:07:55 sunums slapd[5345]: daemon: accept(7) failed errno=24 (Too many open files)
> Feb 18 03:14:35 sunums last message repeated 587197 times
> Feb 18 03:14:35 sunums slapd[5345]: daemon: accept(7) failed errno=24 (Too many open files)
> 
> Is there a patch for resolve this problem
> 
> I use a BerkeleyDB database and openldap 2.0.4
> 
> Any information would be greatly appreciated.
> 
> Thanks in advance
> 
> Benoit
begin:vcard 
n:Storm;Markus
tel;fax:++49 +5246 80-2867
tel;work:++49 +5246 80-1867
x-mozilla-html:FALSE
org:mediaWays GmbH;NMW-T
adr:;;Postfach 185;Guetersloh;;33311;Germany
version:2.1
email;internet:Markus.Storm@mediaWays.net
x-mozilla-cpt:;-20320
fn:Markus Storm
end:vcard