[Date Prev][Date Next]
Memory Leak (ITS#269)
Full_Name: Aaron C. Du Mar
Version: 1.3.6 (August 4, 1999 stable)
OS: Linux 2.0.34
Submission from: (NULL) (220.127.116.11)
I've noticed the memory leak on a couple of machines here in our Physics
It seems that over time, the %mem usage grows as search requests are sent to
What makes it particulary bad is that we use OpenLDAP to handle all of our
aliases for sendmail, so we've lost a lot of email.
Anyway, the set up is pretty much the default, and I've set the cachesize and
dbcachesize to 0 to try and eliminate that. If it makes any difference, the
alias machines are replicas of a master machine which doesn't have anything to
with mail, just slurps!
We can reproduce the problem just by using ldapsearch as follows:
@data = `ldapsearch -h\"our_machine.tamu.edu\" -b\"ou=Department of
Physics, o=Texas A&M University, st=TX, c=US\" \"cn=*\" uid mail`;
and the memory will increase about 24K (or 8K per instance of slapd).
We have another machine that I compiled --without-threads, and it will gain
8K per search request (only one instance, though).
I could compile the other machine --without-threads which would allow me to
keep it running 3 times longer, but that is not the long term solution (or the
If I need to supply any more information, please let me know.