[Pkg-openldap-devel] Bug#378261: slapd fails under heavy load due to descriptor limit
Howard Chu
hyc at openldap.org
Tue Sep 4 04:28:31 UTC 2007
> I've verified that the same fault happens on 2.3.30-5 on a clean Etch
> install. With nfiles set to 8192 the following will occur quite
> easily in testing:
>
> slapd[5574]: daemon: 4096 beyond descriptor table size 4096
>
> When this happens the connection is still accepted so the client will
> wait until its timeout kicks in.
In fact the accept() completes before that message is logged, and then slapd
closes the connection immediately after logging this message so the client
should free up right away. I don't see anything here that will keep the client
waiting in limbo.
IMO, keeping the connection unacknowledged (by stopping the accepts) would be
worse because clients would just hang until something else frees up. At least
this way, when you *do* have an alternate server to contact, you can get
bounced over to it quickly.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
More information about the Pkg-openldap-devel
mailing list