[Date Prev][Date Next] [Chronological] [Thread] [Top]

running out of file descriptors



I'm running openldap-2.0.27, with hundreds of Mozilla Thunderbird clients.

We started to notice that our OpenLDAP server was running out of file descriptors.
When this happens, OpenLDAP becomes non-responsive.


Looking at my slapd logs, I noticed that other LDAP clients close their connection right away,
but mozilla will hang onto them, and will close a bunch at once (possibly when the client exits).


Is this a bug in Mozilla, or will an OpenLDAP configuration change and/or upgrade fix the problem.

-----------------------------------------------------

*// Mozilla address book search...*

Nov 19 09:17:01 m4861 slapd[8301]: daemon: conn=3 fd=11 connection from IP=10.100.1.238:37408 (IP=0.0.0.0:389) accepted.
Nov 19 09:17:01 m4861 slapd[8305]: conn=3 op=0 BIND dn="" method=128
Nov 19 09:17:01 m4861 slapd[8305]: conn=3 op=0 RESULT tag=97 err=0 text=
Nov 19 09:17:01 m4861 slapd[8306]: conn=3 op=1 SRCH base="ou=People,o=ACME,c=US" scope=2 filter="(&(mail=*)(|(mail=*john*)(cn=*john*)(givenName=*john*)(sn=*john*)))"
Nov 19 09:17:02 m4861 slapd[8306]: conn=3 op=1 SEARCH RESULT tag=101 err=0 text=
* * *
Nov 19 09:43:10 m4861 slapd[8301]: daemon: conn=548 fd=99 connection from IP=10.100.1.238:37428 (IP=0.0.0.0:389) accepted.
Nov 19 09:43:10 m4861 slapd[10792]: conn=548 op=0 BIND dn="" method=128
Nov 19 09:43:10 m4861 slapd[10792]: conn=548 op=0 RESULT tag=97 err=0 text=
Nov 19 09:43:10 m4861 slapd[9514]: conn=548 op=1 SRCH base="ou=People,o=WORLDPAC,c=US" scope=2 filter="(&(mail=*)(|(mail=*mar*)(cn=*mar*)(givenName=*mar*)(sn=*mar*)))"
Nov 19 09:43:13 m4861 slapd[9514]: conn=548 op=1 SEARCH RESULT tag=101 err=0 text=
* * *
Nov 19 09:43:15 m4861 slapd[8301]: daemon: conn=553 fd=119 connection from IP=10.100.1.238:37429 (IP=0.0.0.0:389) accepted.
Nov 19 09:43:15 m4861 slapd[9512]: conn=553 op=0 BIND dn="" method=128
Nov 19 09:43:15 m4861 slapd[9512]: conn=553 op=0 RESULT tag=97 err=0 text=
Nov 19 09:43:15 m4861 slapd[12594]: conn=553 op=1 SRCH base="ou=People,o=ACME,c=US" scope=2 filter="(&(mail=*)(|(mail=*eric*)(cn=*eric*)(givenName=*eric*)(sn=*eric*)))"
Nov 19 09:43:16 m4861 slapd[12594]: conn=553 op=1 SEARCH RESULT tag=101 err=0 text=
* * *
Nov 19 09:43:22 m4861 slapd[8301]: conn=-1 fd=11 closed
Nov 19 09:43:22 m4861 slapd[8301]: conn=-1 fd=99 closed
Nov 19 09:43:22 m4861 slapd[8301]: conn=-1 fd=119 closed
*
*