[Date Prev][Date Next]
Re: slapd: Too many open files
--On Tuesday, March 22, 2005 4:21 PM +0000 Dick Davies
* Quanah Gibson-Mount <firstname.lastname@example.org> [0321 17:21]:
--On Monday, March 21, 2005 5:43 AM +0000 Dick Davies
> * Howard Chu <email@example.com> [0302 21:02]:
>> Quanah Gibson-Mount wrote:
>>> --On Sunday, March 20, 2005 2:48 PM +0530 Saket Sathe
>>> <firstname.lastname@example.org> wrote:
>>>> Hi Quanah,
>>>> I tried setting fs.file-max by:
>>>> $ sysctl -w fs.file-max=32767
>>>> But again slapd is giving me the "Too many open files" error.
>>> This problem is not specific to OpenLDAP, as it is an OS related
> I've seen this before when using include statements within slapd.conf
> and accidentally including a file within itself.
> I'm not saying the OP is as dumb as me, but it's worth a check ....
If you can reproduce that, I'd suggest filing an ITS at:
Would you say that's a bug? Just to clarify, I mean I split out
my access controls into master.acl and have a line
in slapd.conf, but masta.acl itself has a line saying
at the top.
I call that pilot error - though I'll still file an ITS if you like...
It certainly is a pilot error, but the error you are reporting it saying is
really non-intuitive to the problem. I would hope that the parser would
throw a meaningful error if the same file is included twice, rather than
'Too many open files'.
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin