Re: Memory usage

Felipe Augusto van de Wiel <[email protected]> Mon, 08 Aug 2011 12:45:58 -0300
Newsgroups gmane.mail.qmail.ldap
Organization Complexo Pequeno Príncipe
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 31-07-2011 06:31, Claudio Jeker wrote:
> On Sat, Jul 30, 2011 at 07:32:55PM -0300, Friedrich Locke wrote:
>> Dear folks,
>>
>> i have installed qmail with ldap support and everything is running ok
>> except for a problem i am facing.
>> When i send email to local users the openldap server (slapd) increase
>> memory usage up to every single byte of my machine's memory.
>> Have anyone already faced such scenario ?
>>
>> Do you have any ideia about what could be happeninng ?
> 
> This has nothing todo with qmail-ldap because slapd is part of openldap.

Hmmm... I'm quite sure you mean "slapd is not part of qmail-ldap". :)


> qmail-ldap open and closes the connections correctly and since none of the
> qmail-ldap processes leaks memory. I would go and ask the openldap mailing
> list. Some versions of openldap did show some very bad behaviour
> (especially with the bdb backend). So it may help to try different
> versions and backends of openldap.

Another tip/idea: indexes.  Create them or you may end up in such
scenarios with misbehaved OpenLDAP versions. :-)

Kind regards,
- -- 
Felipe Augusto van de Wiel <[email protected]>
Tecnologia da Informação (TI) - Complexo Pequeno Príncipe
http://www.pequenoprincipe.org.br/    T: +55 41 3310 1747
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJOQAS2AAoJECCPPxLgxLxP0d4QAJvNzN6Uy9OgI6bDrbi3y75S
4/TkEdktesRHd/rD8A0ZpClVaEixqgFSqizg3sETQetMnu4rnXFlcrF6LAjGslNn
3YqjxTguXDyT2L+wHRIJC6VYCispo096F+z14zpXwz4/BMcp89vFrNy0j1Mwx04j
xuExzbGYGxh4PJWVyWqhVjboSSG+hQywSipCHHPN1O9ttSjX4Ggir00krtVwsM5l
uxIuWDKxGSK3NXBfT1HQnnidGRuyYkFkilPxU7KPUrnM9rGGFiAWHUKy51umur3u
Fq0MGPLkpPOVuHe8dB8tXlHDIV7azlPkZeG8HRuc0vrf46t9Kmw6ohA0Xj2eyRcX
iSIPzTzH0OtEWDDClNePT5RvHqqubrceXK8ofhOJYqlel+yOp67zmbyHMb1UStKK
cA8qn73TxkMQ0w6m+ijiN+RZ+9K2Jb2sVGVKzjIIEDnKyI4Z+U/yJaJM+7UhhAHi
uuZu2LqvLvsdSNyHDKT4ajU43Lo5tkeDjPjIg/DYKjS+2zYRl+n38yKImvVHKPcX
zo7XCzgU7Vt7bKYx2r+tHu/emM5orl7RJq0hZHDLJB2hi/+D3GWnbBi6ic2NT9k/
/ucVyk8pTHdX9GjxdhBPay6qfLaT0ePJQ8XMfC7lPu6EuNuG3TTQykxlT88Lkkf9
mkOzvSTob3Wm1yY5I4sN
=uWCw
-----END PGP SIGNATURE-----