I see the same thing on my system. I believe that there is a setting in slapd.conf that you can use to set the number of slapd processes spawned. I believe that the default is a maximum of 32. I have been looking at this myself and trying to find a better way to increase the performance of my LDAP/Qmail-LDAP installation.

I'm running OpenLDAP 2.0.27

Brian!

Matt wrote:

I don't know if the following is normal or not....
I know there is no "normal" but.. is it suppost to spawn this many
times?   Or is there a setting I should be setting some place?
I noticed memory was a little low on the server this morning and a top
revealed this:

183 processes: 181 sleeping, 2 running, 0 zombie, 0 stopped
CPU0 states: 31.2% user,  9.0% system,  0.0% nice, 59.1% idle
CPU1 states: 34.3% user, 16.1% system,  0.0% nice, 49.0% idle
Mem:  1030560K av,  981116K used,   49444K free,       0K shrd,  167636K
buff
Swap: 2040244K av,   25812K used, 2014432K free                  595196K
cached

 PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
16559 root      17   0 20264  19M 13608 S     0.0  1.9   0:00 slapd
16560 root      15   0 20264  19M 13608 S     0.0  1.9   0:23 slapd
16561 root      15   0 20264  19M 13608 S     0.1  1.9  48:45 slapd
16565 root      15   0 20264  19M 13608 S     0.0  1.9   7:12 slapd
16638 root      15   0 20264  19M 13608 S     0.0  1.9   7:28 slapd
16749 root      15   0 20264  19M 13608 S     0.0  1.9   7:12 slapd
17122 root      15   0 20264  19M 13608 S     0.1  1.9   7:04 slapd
17541 root      15   0 20264  19M 13608 S     0.0  1.9   7:05 slapd
17844 root      16   0 20264  19M 13608 S     0.0  1.9   7:29 slapd
17903 root      17   0 20264  19M 13608 S     0.1  1.9   7:05 slapd
17979 root      15   0 20264  19M 13608 S     0.0  1.9   7:09 slapd
17980 root      15   0 20264  19M 13608 S     0.0  1.9   7:10 slapd
18011 root      15   0 20264  19M 13608 S     0.0  1.9   7:04 slapd
18016 root      15   0 20264  19M 13608 S     0.0  1.9   7:06 slapd
18091 root      15   0 20264  19M 13608 S     0.0  1.9   7:17 slapd
18094 root      15   0 20264  19M 13608 S     0.0  1.9   7:09 slapd
18279 root      16   0 20264  19M 13608 S     0.0  1.9   7:16 slapd
18493 root      15   0 20264  19M 13608 S     0.1  1.9   7:08 slapd
18581 root      15   0 20264  19M 13608 S     0.0  1.9   7:12 slapd
18619 root      15   0 20264  19M 13608 S     0.0  1.9   7:25 slapd
18641 root      15   0 20264  19M 13608 S     0.0  1.9   7:18 slapd
18881 root      15   0 20264  19M 13608 S     0.0  1.9   7:33 slapd
18976 root      15   0 20264  19M 13608 S     0.0  1.9   7:06 slapd
19156 root      15   0 20264  19M 13608 S     0.0  1.9   7:11 slapd
19187 root      16   0 20264  19M 13608 S     0.0  1.9   7:06 slapd
19453 root      15   0 20264  19M 13608 S     0.0  1.9   7:07 slapd
19454 root      15   0 20264  19M 13608 S     0.1  1.9   7:17 slapd
19456 root      15   0 20264  19M 13608 S     0.0  1.9   7:05 slapd
19686 root      15   0 20264  19M 13608 S     0.0  1.9   7:04 slapd
19840 root      15   0 20264  19M 13608 S     0.0  1.9   7:03 slapd
20549 root      15   0 20264  19M 13608 S     0.0  1.9   7:16 slapd
20829 root      16   0 20264  19M 13608 S     0.0  1.9   7:03 slapd
20866 root      15   0 20264  19M 13608 S     0.0  1.9   7:14 slapd
21143 root      15   0 20264  19M 13608 S     0.0  1.9   7:09 slapd
21372 root      16   0 20264  19M 13608 S     0.0  1.9   7:05 slapd

That's quiet a large percentage of my memory being consumed by slapd!
Infact that's 67% Is that normal??
The mail server is hit semi hard... but still.
It has a gig of ram in it.



-- Brian Clark Vice President, Corporate Technology Protocol Marketing Group 1751 Lake Cook Rd. Suite 400 Deerfield, Illinois 60015 T 847-236-3414 F 847-236-3401




Reply via email to