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

RE: slapd Memory Usage



Title: Message
In case anyone was interested, we fired the maximum load to the server that it could handle, and the memory continued to grow to a peak.  We then backed off a bit to a typical load and it never did grow again, but it did not relinquish the memory.
 
I'm assuming this isn't a memory leak.
 
Sarah
-----Original Message-----
From: Sarah Burke [mailto:sarah.burke@bridgewatersystems.com]
Sent: Wednesday, October 29, 2003 7:35 PM
To: 'openldap-software@OpenLDAP.org'
Subject: slapd Memory Usage

Hi,
 
I have a concern regarding slapd memory usage.
 
I have isolated version 2.1.22 with only the NULL backend compiled in.
We are placing the slapd server under load and monitoring it's memory usage using pmap.
We are noticing that there is alot of "anon" memory being allocated, and I'm wondering what is allocating this?
Is this a memory leak?????
 
I am running slapd on Solaris 8.
 
As of now, we've seen an increase in total memory of over 200k in about 1/2 hour of running under load.
I have everything as default, meaning I have no special entries in the slapd.conf.
 
Any help would be appreciated.
 
Sarah
 
----------------------
 
Here are the pmap differences over time.
 
< 001A2000     328     320     184     136 read/write/exec     [ heap ]
< FE400000       8       8       -       8 read/write/exec     [ anon ]
---
> 001A2000     336     328     128     200 read/write/exec     [ heap ]
> FBBFE000      16      16       -      16 read/write/exec     [ anon ]
> FC3FE000      16      16       -      16 read/write/exec     [ anon ]
> FCBFE000      16      16       -      16 read/write/exec     [ anon ]
> FD3FE000      16      16       -      16 read/write/exec     [ anon ]
> FDBFE000      16      16       -      16 read/write/exec     [ anon ]
> FE3FE000      16      16       -      16 read/write/exec     [ anon ]
16a22,25
> FF072000       8       8       -       8 read/write/exec     [ anon ]
> FF082000       8       8       -       8 read/write/exec     [ anon ]
> FF092000       8       8       -       8 read/write/exec     [ anon ]
> FF0A2000       8       8       -       8 read/write/exec     [ anon ]
21c30
< FF100000     688     656     656       - read/exec         libc.so.1
---
> FF100000     688     648     648       - read/exec         libc.so.1
26,28c35,37
< FF200000     568     472     472       - read/exec         libnsl.so.1
< FF29E000      40      40      32       8 read/write/exec   libnsl.so.1
< FF2A8000      24      16      16       - read/write/exec   libnsl.so.1
---
> FF200000     568     464     464       - read/exec         libnsl.so.1
> FF29E000      40      40      16      24 read/write/exec   libnsl.so.1
> FF2A8000      24      16       8       8 read/write/exec   libnsl.so.1
46c55
< total Kb    4104    3512    3104     408
---
> total Kb    4232    3624    3008     616