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

RE: 2.0.7 with Berkeley DB 3.1.17: Memory leak?



We were running it on Solaris 2.6 with Berkley DB 2.x (The latest) and ended
up having some memory issues as well (Segmentation faulted). We didn't have
time to track down the problem, but it occured from anywhere between 2 days
and 2 hours (We here hitting the ldap server with over 10 million
connections in a 24 hour period).

Hope this can help.

Laurence

--
Laurence Brockman
Unix Administrator
Videon Cablesystems Alberta Inc
10450-178 St.
Edmonton, AB
T5S 1S2
l.brockman@videon.ca
(780) 486-6527


-----Original Message-----
From: Roland Rosenfeld [mailto:rosenfeld@netcologne.de]
Sent: Thursday, February 01, 2001 1:36 AM
To: OpenLDAP Software
Subject: 2.0.7 with Berkeley DB 3.1.17: Memory leak?


I set up OpenLDAP 2.0.7 with Berkeley DB 3.1.17 on a Ultra-2 sparc
with Solaris 8 and had to notice, that the memory footprint is growing
very fast.  The server is running for a day now and it consumes 590MB
at the moment (growing ca. 1MB per 5 minutes).

The directory consists of ca. 60000 entries and we had ca. 450000
connections to the server in the last 24 hours.

All I can see in the logs is the following message:
 ldbm: ==> set_cachesize: method meaningless in shared environment
which arrives quite often but randomly (sometimes 5 times in one
second, than 2 or 5 minutes no message,...).

Any idea what's going wrong here or how to fix the problem?
Does it make sense to try out Sleepycat Berkeley DB 3.2.9?
I run a similar setup on a Ultra-1 with Solaris 2.6 and gdbm as the
database backend and this only used 6-7 MB RAM.  But the README files
recommends Berkeley DB, so I switched over to it.  Would switching
back to Berkeley DB solve my problem?

Tschoeeee

        Roland