[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#5078) slapd high cpu usage
Full_Name: Babu
Version: 2.3
OS: RedHAT3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (198.181.11.27)
Hello,
We are using openldap2.3, BDB 4.5.20 and Rehat3..seeing having high cpu usage of
the slapd process.
Tried with bellow indexes, we can't use "cachesize" as we have nightly restart
of the process and cache go away (let me know there is way to save cache and it
will be available even after restart of slapd); also we have yearly onetime
users in our system.
Please let me know what are can be done to solve slapd high cpu utilization
problem.
====indexes in slapd.conf====
index objectClass eq
index uid pres, eq
=========
=========CPU usage with 3/4 users concurrent login=========
321 processes: 319 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 28.0% 0.0% 7.8% 0.0% 0.0% 7.9% 56.0%
cpu00 47.6% 0.0% 8.9% 0.0% 0.3% 2.3% 40.6%
cpu01 32.8% 0.0% 7.7% 0.0% 0.0% 0.7% 58.6%
cpu02 19.4% 0.0% 8.1% 0.0% 0.0% 14.1% 58.2%
cpu03 12.1% 0.0% 6.5% 0.0% 0.0% 14.5% 66.7%
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
30973 xxxxx 19 0 148M 148M 2224 R 15.4 3.1 4:44 0 slapd
30975 xxxxx 18 0 148M 148M 2224 S 9.5 3.1 3:51 3 slapd
32030 xxxxxx 19 0 148M 148M 2224 S 7.9 3.1 3:59 1 slapd