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

Re: Too many open files?

Jaap Winius <jwinius@umrk.nl> writes:

> Quoting Dieter Kluenter <dieter@dkluenter.de>:
>> Unfortunately the hard limit is set to 1024 so you have to increase
>> soft limit and hard limit. You should probably set soft limit to 2048 and
>> hard limit to 8192
> Right. I've created an /etc/initscript, exactly like the sample that's
> described in "man initscript". That should fix things.
> I'm still worried, though: a recent "lsof -i| grep slapd" showed that
> the number of open file descriptors for the refreshAndPersist
> replication process was up to 1023. Surely that's not normal. Could
> this be due to a file descriptor leak?
> I'm using Debian lenny with slapd v2.4.11-1.

Is there any chaining, back-ldap or back-meta involved?
I am not aware of any FD leak, although 2.4.11 is rather old (July
2008). As since then numerous syncrepl bugs have been fixed, you
should probably update to 2.4.21


Dieter Klünter | Systemberatung