[Date Prev][Date Next]
Re: slapd CPU usage / threading.
Alex Balashov wrote:
I seem to have come upon a bizarre problem having installed the Debian
sarge binary package of slapd and configured some parameters (e.g. ACLs,
rootdn) for use with samba-tng.
In particular, slapd is constantly utilising 100% CPU, and also causes
klogd to consume considerable time. Curiously, the log output from klogd
is unavailable either on console or in the syslogs. This is completely in
idle run; no queries are coming from any services or clients at this
There is no interesting information about this in the system logs from
For further investigation, I attach 'strace' to the PID of the 'slapd'
process and am spammed at a blinding pace with:
futex(0xb743dbf8, FUTEX_WAIT, 2930, NULL) = -1 ENOSYS (Function not
I think it would be agreeable to reason to conjecture that this is the
cause of the problem.
I am using BDB, glibc 2.3.5, kernel 126.96.36.199 on an Athlon 64 3000+. Your
insights are appreciated!
This sounds like a mismatch between glibc and the kernel. Nothing that's
controlled by OpenLDAP.
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/