In regard to: Re: OpenLDAP Memory Usage, Quanah Gibson-Mount said (at...:
--On Thursday, March 17, 2011 8:06 AM -0700 Howard Chu hyc@symas.com wrote:
This is a relatively high-volume environment, with 4 servers running with mirrormode to enable multi-master replication. The current database size is about 900mb. Is there any setting that could limit this memory usage? I don't feel this is "normal" considering our DB size and cache sizes.
Very likely ITS#6660, you need to update to 2.4.24.
Also make sure you use an alternative memory allocator if you are running on Linux, such as tcmalloc from the google perf tools package, or hoard.
Can you expound a bit more on that, Quanah, or point me at some more complete information on why using a non-default memory allocator is beneficial for OpenLDAP on Linux?
I've been subscribed to the OpenLDAP devel and now technical mailing list for quite a while and I don't recall seeing anything stated in such strong terms about not using the default malloc/free on Linux.
Tim