[Mimedefang] Occasional crashes - out of memory

Jim Hatfield subscriber at insignia.com
Thu May 18 13:00:36 EDT 2006


Paul Murphy wrote:
> 
>> Dirk Mueller wrote:
>>> On Wednesday, 17. May 2006 11:46, Jim Hatfield wrote:
>>>
>>>> The machine has 1Gb of swap space and all it does now is mail
>>> You seem to have ulimits set at around 32MB. 
>> Hmm, I didn't think so. It's FreeBSD box, the /etc/login.conf
>> is stock:

> Then you have implemented the limits in MIMEDefang - 
> 
> This is usually set in the init.d script or in mimedefang.conf, e.g.

Bingo - thanks very much. The FreeBSD equivalent of /etc/init.d is
/usr/local/etc/rc.d/ and mimedefang.sh has:

> # Limit slave processes' resident-set size to this many kilobytes.  Default
> # is unlimited.
> MX_MAX_RSS=10000
> 
> # Limit total size of slave processes' memory space to this many kilobytes.
> # Default is unlimited.
> MX_MAX_AS=30000

So it's the FreeBSD-isation which is the culprit.

Jim



More information about the MIMEDefang mailing list