"Singh, Devender (GE Capital, consultant)" Devender.Singh2@ge.com writes:
Hi All,
I need help for openldap slapd 200% cpu utilization issue.
I have configured three openldap servers(2 Masters and 1 Slave). I have
configure PEN load balancer for failover setup on 2 master openldap servers.It
means application server first of all hit the loadbalancer port and than PEN LB
will forwad that request to Master 1 or 2 openldap server.
Hardware configuration on all boxes:
OS: RHEL5(x86_64)
RAM: 2GB
Number of CPU: 2(Intel(R) Xeon(R)2.00GHz)
Number of BDB databases: 2
Databse1:
Number of users : 830000
Number of dns: 830000
Database2:
Number of users: 2000
Number of dns: 800000
My Application1 using Databse1 and Application2 using Databse2.
Application2 just authenticating the users and store last 10 password history
only, It means Application1 is not using openldap too much.
In Application2(90% dependent on openldap) every user have 1000+ sub leafs
entries. when I want to do major changes(number of leafs write) into this, it.s
got hanged and got socket closed error in application logs and CPU utilization
goes 200% and RAM 52%. My DB_CONFIG file is below:
Most likely to many concurrent write operations. You should move the db logfiles onto a different disk.
-Dieter