Bug#419222: [Pkg-openldap-devel] Bug#419222: after a while slapd hangs
Quanah Gibson-Mount
quanah at stanford.edu
Sat Apr 14 20:15:40 UTC 2007
--On Saturday, April 14, 2007 2:43 PM +0200 Gyuris Szabolcs
<szimszon at oregpreshaz.eu> wrote:
> Package: slapd
> Version: 2.3.30-5
> Severity: important
>
> I use slapd in production environment with 167 entrys.
> The running environment is in a vmware-server 1.0.1.
>
> I use slapd with tls to authenticate users.
>
> After some weeks, days or even hours slapd suddenly stops working. It
> hangs and the servers load grows.
>
> I use it with hdb backend.
>
> There is a cut of the relevant log:
>
> Apr 14 12:10:01 v-belso-1 slapd[16844]: conn=3305 fd=84 ACCEPT from
> IP=10.1.3.4:48156 (IP=0.0.0.0:636) Apr 14 12:10:01 v-belso-1
> slapd[16844]: conn=3305 fd=84 TLS established tls_ssf=168 ssf=168 Apr 14
> 12:10:01 v-belso-1 /USR/SBIN/CRON[7760]: (root) CMD
> (/usr/local/sbin/check_prg.sh) Apr 14 12:10:31 v-belso-1 slapd[16844]:
> connection_input: conn=3305 deferring operation: binding Apr 14 12:11:05
> v-belso-1 slapd[16844]: conn=3306 fd=85 ACCEPT from IP=10.1.3.13:53815
> (IP=0.0.0.0:636) Apr 14 12:11:05 v-belso-1 slapd[16844]: conn=3306 fd=85
> TLS established tls_ssf=128 ssf=128 Apr 14 12:11:51 v-belso-1
> slapd[16844]: conn=3307 fd=86 ACCEPT from IP=127.0.0.1:3219
> (IP=0.0.0.0:389) Apr 14 12:12:00 v-belso-1 slapd[16844]: conn=3308 fd=87
> ACCEPT from IP=10.1.3.4:48158 (IP=0.0.0.0:636) Apr 14 12:12:00 v-belso-1
> slapd[16844]: conn=3308 fd=87 TLS established tls_ssf=168 ssf=168
>
> /etc/init.d/slapd stop:
> Apr 14 12:12:03 v-belso-1 slapd[16844]: daemon: shutdown requested and
> initiated. Apr 14 12:12:03 v-belso-1 slapd[16844]: conn=6 fd=14 closed
> (slapd shutdown) Apr 14 12:12:03 v-belso-1 slapd[16844]: conn=7 fd=20
> closed (slapd shutdown) Apr 14 12:12:03 v-belso-1 slapd[16844]: conn=854
> fd=21 closed (slapd shutdown) Apr 14 12:12:03 v-belso-1 slapd[16844]:
> conn=2548 fd=25 closed (slapd shutdown) Apr 14 12:12:03 v-belso-1
> slapd[16844]: conn=3130 fd=26 closed (slapd shutdown) Apr 14 12:12:03
> v-belso-1 slapd[16844]: conn=3133 fd=28 closed (slapd shutdown) Apr 14
> 12:12:03 v-belso-1 slapd[16844]: conn=374 fd=34 closed (slapd shutdown)
> Apr 14 12:12:03 v-belso-1 slapd[16844]: conn=966 fd=36 closed (slapd
> shutdown) Apr 14 12:12:03 v-belso-1 slapd[16844]: slapd shutdown: waiting
> for 89 threads to terminate
> Once it caused a db corruption.
Hi Gyuris,
This is a very large number of threads that it says you have open. Would
it be possible for you to make your slapd.conf available (minus anything
critical like passwords) for examination?
Thanks,
Quanah
--
Quanah Gibson-Mount
Senior Systems 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