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

Bernie Innocenti bernie at codewiz.org
Mon Aug 10 00:08:33 UTC 2009


Hello,
________________________________________________________________________
> 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

Did you eventually solve this issue?  If not, is there a bug
already filed in Bugzilla?

I'm still seeing exactly the same on F11 with all updates installed
as of today. I'd be tempted to point fingers at nss-softokn-freebl,
as this is where the code to ope libnspr4.so actually lives.
Upgrading openldap-servers and to rawhide has no effect.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/





More information about the fedora-devel-list mailing list