Leon wrote:

> Ken wrote:

>> 
>> I'm using Amavisd 2.4.5 on CentOS 4.2 (Fedora) and I have noticed that
>> the /var/amavisd/tmp directory keeps filling up.  Once it gets to 32,000
>> entries, Amavisd stops processing inbound mail.
>> 
>> Each entry is a subdirectory like amavis-20070501T115239-02146 and
>> contains an email.txt file and a subdirectory named parts.
>> 
>> Any ideas why are these accumulating permanently on my system?
>> 
>> Thanks!

> There is a lot of info on this in the mailinglist archive (use google).
> Or you can use the following cronjob (replace with /var/spool/amavis
> /var/amavisd):
> * */2 * * * /bin/bash -c "(find /var/spool/amavis -type d -name 'amavis-*'
> -prune -mmin +120 -exec rm -rf {} \;)"

> Regards,
> Leon Kolchinsky

Temp directories filling up is a sign that something is broken. You
can delete old temp directories as needed but this does not solve the
problem. Start by looking for error messages in your logs, e.g.:

grep '!' /path/to/logfile

or something like:
egrep 
"(TROUBLE|Can't|TIMED|timed|ERROR|Error|abort|error|fatal|PRESERVING|FAILED)" 
/path/to/logfile

http://www.ijs.si/software/amavisd/#faq

Gary V



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to