Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] memory consumption

2010-02-16 by Peter Bonivart

On Tue, Feb 16, 2010 at 3:12 PM, Dietmar Rieder <adrieder@...> wrote:
> Hi,
>
> we are running milter-greylist-4.2.3 on Solaris 10 x86, it works great
> so far, but I'm a little concerned by its memory consumption. Right
> after starting the service it uses < 30Mb of RAM but after running it
> about 48h it uses already ~1Gb of RAM.
>
> Is this normal?
> Is there something that could be done to limit the memory consumption?

I package miltergreylist for www.opencsw.org and it's "normal" that it
leaks memory. I use a restart script to keep it in check.

With commands like "pmap -x <miltergreylist-pid>" you can see how much
memory it's consuming. From there you can easily build a script to
restart it before it goes to insane values.

Funny thing is that some Linux users (including myself) have no issues
with this on miltergreylist but with ClamAV it's the other way round,
ClamAV seems to leek more memory on Linux than on Solaris.

-- 
/peter

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.