[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
sched_yield() using 100% CPU (ITS#2383)
Full_Name: Lalot Dominique
Version: 2.1.16
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.50.125.9)
Just kill -INT master process is eating 100%CPU.
No ldapsearch is necessary to see the problem
No SSL config
OS is mandrake 9.0
Linux pc-lalot.univ-aix.fr 2.4.19-24mdk #1 Thu Jan 30 13:13:07 MST 2003 i686
unknown unknown GNU/Linux
glibc-2.2.5-16mdk
export LDFLAGS=-lcrypt
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/bin
--enable-ldbm=yes --with-ldbm-api=berkeley --enable-dynamic=yes
--enable-crypt=yes --enable-monitor=yes
30166 ? S 0:00 /usr/bin/slapd -u ldap -g ldap
30174 ? S 0:00 /usr/bin/slapd -u ldap -g ldap
30175 ? S 0:00 /usr/bin/slapd -u ldap -g ldap
30179 ? S 0:01 /usr/bin/slapd -u ldap -g ldap
30181 ? S 0:00 /usr/bin/slapd -u ldap -g ldap
[root@pc-lalot openldap-2.1.16]# cat /var/run/ldap/slapd.pid
30166
[root@pc-lalot openldap-2.1.16]# kill -INT 30166
[root@pc-lalot openldap-2.1.16]# ps ax | grep slapd
30166 ? R 0:03 /usr/bin/slapd -u ldap -g ldap
30174 ? S 0:00 /usr/bin/slapd -u ldap -g ldap
[root@pc-lalot openldap-2.1.16]# strace -p 30166
sched_yield() = 0
DB4 is:
db-4.1.25.NC
[root@pc-lalot root]# cat /var/lib/ldapetud/DB_CONFIG
# set_flags DB_TXN_NOSYNC
set_cachesize 0 30000000 2
[root@pc-lalot root]# cat /var/lib/ldapperso/DB_CONFIG
# set_flags DB_TXN_NOSYNC
set_cachesize 0 30000000 1
[root@pc-lalot root]# free
total used free shared buffers cached
Mem: 256892 250416 6476 0 10860 152340
-/+ buffers/cache: 87216 169676
Swap: 265032 5700 259332
[root@pc-lalot root]# service ldap start
Starting slapd: [ OK ]
[root@pc-lalot root]# free
total used free shared buffers cached
Mem: 256892 251204 5688 0 10892 152340
-/+ buffers/cache: 87972 168920
Swap: 265032 5700 259332
I am trying to migrate from 2.0.28 to 2.1.x
tests have been done in 2.1.12 and 2.1.16
Dominique