This is a discussion on Re: [AMaViS-user] amavis: SA TIMED OUT within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Oliver wrote: > Otavio: >> Do you use some other applications whit SpamAssassin, like Razor2, >> Pyzor and/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Oliver wrote:
> Otavio: >> Do you use some other applications whit SpamAssassin, like Razor2, >> Pyzor and/or DCC ? > No I am not using any other software. >> Because in my servers I had the same problems, and >> it's happen because this softwares need to access some external server >> with diferent ports (e.g.: TCP 6207, TCP 7, TCP 2703, ...), so you >> need do grant this acess in your firewall. > So I think a firewall problem can be excluded. > Oliver What version of amavisd-new? In versions < 2.4.0 SA was given 30 seconds to complete its tasks. You could increase this by setting something like this in amavisd.conf: $sa_timeout = 60; but this is not needed in newer versions. The Bayes expiry is very CPU intensive and it is not too uncommon for it slow everything down (resulting in a timeout). Migrating Bayes to SQL does help. It also helps to run sa-learn --force-expire only once a day in the off hours. Set up a cron job to do this and once you are certain it works you can disable auto expiry with this in local.cf: bayes_auto_expire 0 Gary V ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |