Fedora 11 slapd "too many open files": /lib64/libnspr4.so

Anthony Messina amessina at messinet.com
Tue Jul 7 11:01:35 UTC 2009

I'm running into a problem with Fedora 11 and OpenLDAP's slapd instance (the 
same configuration that I've used for F8, F9, F10 and now F11).

After a day or two, of continuous usage, the slapd instance hangs with the 
"too many open files" issue.  I googled around a bit and found that some have 
fixed the problem by adding the following line to slapd.conf:

# Disconnect idle connections
idletimeout     60

This doesn't really seem to make a difference.  When I do "lsof -u ldap", I 
get the normal output of files in mem, followed by a ton of these:

slapd   19221 ldap   37r   REG  8,51    235360  418680 /lib64/libnspr4.so                                                                                                                                                       
slapd   19221 ldap   38r   REG  8,51    235360  418680 /lib64/libnspr4.so                                                                                                                                                       
slapd   19221 ldap   39r   REG  8,51    235360  418680 /lib64/libnspr4.so                                                                                                                                                       
slapd   19221 ldap   40r   REG  8,51    235360  418680 /lib64/libnspr4.so

that never seem to go away, and lead to the "too many open files" issue.

Can anyone offer some assistance as to how to fix this issue?  Thank you in 
advance.  -Anthony

Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090707/d2e349da/attachment-0001.sig>

More information about the fedora-list mailing list