--On Friday, July 14, 2006 11:36 AM -0700 Chris Adams <[EMAIL PROTECTED]> 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


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to