Andrew Jeffries wrote:
> Andrew Jeffries wrote:
>> I'm running spamassassin 3.1.0 as spamd with the following command line
>> options:
>>
>> -m 5 --max-conn-per-child=5 -u mail --ident-timeout=30 -s
>> /var/log/spamd.log -D --round-robin
>>
>> When I receive a certain email (or a few from the same top level domain)
>> it hangs spamassassin as it tries to allocate a boatload of memory
>> (excerpt from top, this is a 512MB machine):
>>
>>    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>>   6076 mail      18   0  876m 452m  660 R  7.3 91.4   0:22.34 spamd
> 
> By the way, before anyone asks, I have the following in my exim.conf
> having been bitten by large emails before, so it's not that:
> 
>   accept condition  = ${if >{$message_size}{500k}{yes}{no}}
> 
> That's been working fine until this email started coming through.

500k might still be too big, depending on the message, the default for
spamc is 250k.  What size is the actual message that is causing the
problem?  If it appears much smaller, please open a bug and attach a
copy of the message.

Thanks
Michael

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to