Morten Nilsen wrote:
> Morten Nilsen wrote:
>
>>Philippe Laquet wrote:
>>
>>
>>>Morten Nilsen wrote:
>>>
>>>
>>>>It seems that amavis enjoys piling up copies of messages in
>>>>/var/spool/amavis/tmp
>>>
>>>What kind of messages, I mean, are they named "SPAM-*" or "VIRUS-*" ? I
>>>didn't have any problem with amavisd, but I had to had CRON jobs to
>>>purge that directory - It grows quickly.
>>
>
> I also have this problem with amavis locking up .. I have had the issue
> for months..
>
> amavis 29358 94.6 4.0 40308 36248 ? R Nov13 369:06 amavisd
> (ch2-29358-02)
The process seems to be frozen, I had that problem only once with
amavisd, it was due to a bad program used in decompression. That may
explain why your "parts" grows a lot.
Incoming Mail -> Amavisd (decompression) -> SpamAssassin -> ClamAV
If the problem is linked to a faulty decompression, amavisd locks the
process and the "parts" directory is never cleaned up. Try to restart
amavisd /etc/init.d/amavisd restart and take a look in the maillogs. The
decompression programs found are listed at startup by amavisd.
LZO,RAR,UNZIP,LHA...
>
> have to kill -9 it.
>
> I had service amavisd restart crontabbed, as well as a small script to
> kill -9 hung processes...:
>
> */5 * * * * ps xafu | awk 'BEGIN{a=0}$1=="amavis"{if($3>70) { print
> "kill -9 " $2; a=1; }}END{if(a==1) print "service amavisd
> start;postqueue -f;postqueue -p"}END{print "e
> cho done"}' | bash
> 0 */2 * * * service amavisd restart > /dev/null
>
> I commented these out yesterday to see if the problem was gone, and it
> wasn't.
>
Quick'n'Dirty solution but that may do the job.
One last question, which version of TSL is running your amavisd and what
is the amavisd-new version ?
Kind regards
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss