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

Memory leak on Solaris 8? (ITS#736)

Full_Name: Mark Keller
Version: 1.2.11
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

We were running openldap 1.2.11 on Solaris 2.6 for a month or two and
was working great. We upgraded our servers to Solaris 8 and a day later slapd
died.  I restarted it and noticed that as time went the slapd process assumed
more and more memory.  It eventually would get up to about 500MB and we would
run out of memory on the server and slapd would die. Just for grins, I tried 
recompiling on Solaris 8 with gcc version egcs-2.91.66 thinking it was
related to the binary being compilied on Solaris 2.6.  This had no effect,
still consumes memory and crashed every couple of days.  We are using
2.7.7.  I also recompiled BerkeleyDB on Solaris 8.

I can run top and do an ldapsearch and slapd just keeps growing and growing. 
this looks to me like it is not releasing memory when it is done with a search.
Sorry, but I have not had time to look into exact reasons why.  I have looked
through bug reports and list archives and have found no similar experiences.

Is anyone else having problems on Solaris 8?  Anyhow, any advice would be