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

High CPU utilization (ITS#1878)



Hi,

I have installed openldap-2.0.23 version on a 1GB RAM, Dual Pentium III
699.330MHZ CPU processor. The machine is DELL 6250. LDAP is the only service
running on the machine.

I am facing a High CPU utilization problem.

CPU0 states:  96.4% user,  0.0% system,  0.0% nice, 3.6% idle
CPU1 states: 90.3% user,  0.3% system,  0.0% nice, 9.7% idle
Mem:  1028484K av,  181808K used,  846676K free,       0K shrd,   13728K
buff
Swap: 2048276K av,       0K used, 2048276K free                   88488K
cached
 3505 root      17   0 12368  12M  1976 S    10.5  1.2  51:45 slapd
 3623 root      11   0 12368  12M  1976 S    10.1  1.2  51:04 slapd
 3631 root       9   0 12368  12M  1976 S     9.3  1.2  50:55 slapd
 3624 root      12   0 12368  12M  1976 S     8.9  1.2  51:05 slapd
 3506 root       9   0 12368  12M  1976 S     8.3  1.2  51:47 slapd

Following is the configuration option I had enabled.

 ./configure  --prefix=/usr/local/ldap --enable-wrappers --with-tls

And following is my slapd.conf file configuration

database        ldbm
suffix          "o=example.com"
directory       /usr/local/ldap/var/openldap-ldbm
rootdn          "uid=test, o=example.com"
rootpw          test
#suffix         "dc=my-domain,dc=com"
#suffix         "o=My Organization Name,c=US"
#rootdn         "cn=Manager,dc=my-domain,dc=com"
#rootdn         "cn=Manager,o=My Organization Name,c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
#rootpw         secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
#directory      /usr/local/ldap/var/openldap-ldbm
# Indices to maintain
#index  objectClass     eq
index           mail,uid sub,pres,eq
defaultaccess   read
dbcachesize 500000
cachesize 10000
sizelimit 10000
loglevel 0
access to *
        by self write
        by dn="uid=test, o=example.com" write
        by * read

Please let me know what should be done to solve my high cpu utilization
problem.

Thanks and Regards

S Vijay