Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] milter-greylist using large amounts of virtual memory

2005-10-13 by Dan Hollis

On Thu, 13 Oct 2005, Christian PELISSIER wrote:
>> We have around 1 million entries in our greylist database. What really
>> bugs me is that the current 2.3 GB of VmData that milter-greylist is
>> using does not show up in physical memory or swap... it will be
>> interresting to see what happens when the process hits 3 GB, since this
>> is the amount of memory + swap that one of the servers has.
>> Could perhaps the kernel (Linux 2.6.9-11.ELsmp, CentOS 4.1) be reporting
>> the memory usage wrong? This problem seems to have started since I began
>> using the mxsync function.
>> Time for me to "Use the Source, Luke".
> Storing the md5 of the tuple instead of the tuple itself could be a
> solution for a large site and an a new option for milter-greylist.
> md5 is only 16 byte long (against  ~ 64)
> md5(Sender IP:Sender e-mail:Recipient e-mail) Time

no need, just use on-disk database rather than in-memory one.
someone really needs to integrate sqlite backend for tuple access.

-Dan

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.