[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OpenLDAP, overuse of memory?
> I have a PDC running samba 2.2.8a with OpenLDAP 2.0.27 on the backend.
> 1675 ldap 11 0 3328 3324 2048 S 0.0 0.1 0:00 slapd
> 1679 ldap 17 0 3328 3324 2048 S 0.0 0.1 0:00 slapd
> 1680 ldap 13 0 3328 3324 2048 S 0.0 0.1 0:00 slapd
> 1683 ldap 14 0 3328 3324 2048 S 0.0 0.1 0:00 slapd
> 1684 ldap 14 0 3328 3324 2048 S 0.0 0.1 0:00 slapd
> 1685 ldap 17 0 3328 3324 2048 S 0.0 0.1 0:00 slapd
> I noticed that I had quite a few slapd processes running (Multi-threaded, I
> know...) anyway, so I stopped LDAP and continued to monitor it and the
> memory usage seemed to stop...(I set thread 9 in my .conf file)
Exactly. They are threads not processes.
> Is this correct? Is this what it is supposed to use?
> Could this be the problem?
No. You LDAP service is using like ~4-6Mb of RAM. Total! Thats
nothing. I don't see any evidence of a memory problem. Your using "0"
swap, so just don't worry about it. "Free" RAM is wasted RAM, you want
that number to be really low, or you can take that RAM out and stick it
into something that needs it. Over time I'll wager the "Free" number
will fall as the system finds stuff worth buffering/caching. This is
all CORRECT behaviour.