Bug#378261: [Pkg-openldap-devel] Bug#378261: slapd fails under heavy load due to descriptor limit

Quanah Gibson-Mount quanah at stanford.edu
Mon Jul 17 01:16:59 UTC 2006



--On Friday, July 14, 2006 11:36 AM -0700 Chris Adams <cadams at salk.edu> 
wrote:

> Package: slapd
> Version: 2.2.23-8
> Severity: important
>
>
> slapd can fail under heavy load with the following message:
>
> Jul 14 10:12:04 economo slapd[16502]: daemon: 1024 beyond descriptor
> table size 1024
>
>
> There are several problems here:
> 1) slapd uses more file descriptors than it arguably should (#159776)
> 2) The table size is artificially capped (servers/slapd/daemon.c lines
> 1026:1030) to FD_SETSIZE (1024 on current systems), well below the 8192
> limit set by the ulimit command in /etc/init.d/slapd.
>
> http://www.openldap.org/faq/data/cache/1126.html suggests that this
> can be raised to 8192 using a compile flag. This patch accomplishes
> that:

If the debian build links against tcp wrappers, that may be the actual 
problem.  This is rather well discussed on the OpenLDAP archives.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html




More information about the Pkg-openldap-devel mailing list