Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] memory consumption

2010-02-16 by Dietmar Rieder

On 02/16/2010 09:37 PM, Bob Friesenhahn wrote:
>
>
> On Tue, 16 Feb 2010, Dietmar Rieder wrote:
>  >
>  > Solaris 10 provides several libraries with implementation of malloc
>  > different from the standard malloc shipped with libc. So if you link
>  > milter-greylist to libumem (or libbsdmalloc) the memory consumption
>  > stays at a normal level. (see: man libumem [man libbsdmalloc])
>
> Under Solaris, is not even necessary to explicitly link to libumem in
> order to use it. The malloc functions can be overloaded by setting
> this in the environment before starting the program:
>
> LD_PRELOAD=libumem.so

Right, I know, but then I should never forget to set it ;-)
That's why it linked it at compile time.

> Regardless, if switching to libumem solves problems, there is surely a
> bug somewhere. Libumem supports some built in debugging features
> which might help to discover the location of the problem.

...I suspected that, but unfortunately I do not have the skills nor 
resources for debugging this problem, but hopefully there is someone out 
there who does...

Didi

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.