Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] memory consumption

2010-02-16 by Bob Friesenhahn

On Tue, 16 Feb 2010, Dietmar Rieder wrote:

> 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.

As a potentially useful data point, I am running milter-greylist-4.2.2 
on Solaris 10 U6 (+patches) SPARC with libspf2 1.2.9 and after 126 
days of uptime, it is consuming only 36MB of RAM, with no sign of a 
leak.

> The greylist.db is about 14Mb and gets dumped every 15 minutes.

My greylist.db is only 1.5MB.  When greylisting was first employed, 
the file was much larger but it seems that over time, the amount of 
spam attempts has considerably diminished.

It could be that the connection rate is overflowing an arbitrary limit 
on 32-bit Solaris.  I recall something in the notes regarding a file 
descriptor limit.  Unfortunately, libmilter is not provided as a 
64-bit build under Solaris and it is more work to build your own.

Bob
--
Bob Friesenhahn
bfriesen@..., http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

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.