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

memory used by slapd?



     I made a heavy query test on ldap. After the test,  
I found that althrough there are no ldap query, but there were 
still lots of slapd processes and each used 20M memory. 
And when I restart the slapd, there only three slapd processes
each only 1.6M Memory.
     When will it terminate and release the memory if I don't restart 
slapd?

maila:/var/log# ps xua |grep slapd
root     12459  0.0  2.2 92980 20536 ?       S    17:23   0:00 /usr/sbin/slapd
root     12461  0.0  2.2 92980 20536 ?       S    17:23   0:00 /usr/sbin/slapd
root     12462  1.5  2.2 92980 20536 ?       S    17:23   5:02 /usr/sbin/slapd
root     12466  0.1  2.2 92980 20536 ?       S    17:23   0:25 /usr/sbin/slapd
root     12468  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12470  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12472  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12474  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12475  0.1  2.2 92980 20536 ?       S    17:23   0:25 /usr/sbin/slapd
root     12476  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12477  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12478  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12489  0.1  2.2 92980 20536 ?       S    17:23   0:25 /usr/sbin/slapd
root     12507  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12508  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12509  0.1  2.2 92980 20536 ?       S    17:23   0:25 /usr/sbin/slapd
root     12510  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12511  0.1  2.2 92980 20536 ?       S    17:23   0:25 /usr/sbin/slapd
root     12512  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12513  0.1  2.2 92980 20536 ?       S    17:23   0:27 /usr/sbin/slapd
root     12514  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12515  0.1  2.2 92980 20536 ?       S    17:23   0:27 /usr/sbin/slapd
root     12516  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12517  0.1  2.2 92980 20536 ?       S    17:23   0:25 /usr/sbin/slapd
root     12518  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12519  0.1  2.2 92980 20536 ?       S    17:23   0:25 /usr/sbin/slapd
root     12520  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12521  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12522  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12523  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12524  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12525  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12557  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     12585  0.1  2.2 92980 20536 ?       S    17:23   0:25 /usr/sbin/slapd
root     12613  0.1  2.2 92980 20536 ?       S    17:23   0:26 /usr/sbin/slapd
root     23589  0.0  0.0  1336  468 pts/0    S    22:54   0:00 grep slapd

The result when I restart the slapd:
maila:/var/log# ps xua |grep slapd 
root      8950  0.0  0.1  6440 1604 ?        S    22:57   0:00 /usr/sbin/slapd
root      8956  0.0  0.1  6440 1604 ?        S    22:57   0:00 /usr/sbin/slapd
root      8967  0.0  0.1  6440 1604 ?        S    22:57   0:00 /usr/sbin/slapd
root      9398  0.0  0.0  1336  468 pts/0    S    22:57   0:00 grep slapd

        Liu Jinhui
        hui@student.dlut.edu.cn
          2002-11-11