Martin,

> This might be better suited for the SA-list, but I don't know if Amavis
> is a playing a role here so I'll give it a try here as well.
>
> I'm occasionally seeing amavis processes that hang for 10 minutes,
> utilizing 100% CPU due to some SA issue. After 10 minutes an error shows
> in the log:
>
> Oct 25 18:36:19 mx1 amavis[20684]: (20684) ClamAV-clamd result: clean
> Oct 25 18:41:40 mx1 amavis[20684]: (20684) (!)SA TIMED OUT, backtrace:
> at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/DBBasedAddrList.pm
> line 165\n\teval {...} called at
> /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/DBBasedAddrList.pm line
> 165\n\tMail::SpamAssassin::DBBasedAddrList::remove_entry('Mail::SpamAssassi
>n::DBBasedAddrList=HASH(0xce16994)', 'HASH(0xcf22314)') called at
> /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/AutoWhitelist.pm line
> 135\n\tMail::SpamAssassin::AutoWhitelist::check_address('Mail::SpamAssassin
>::AutoWhitelist=HASH(0xce0d714)', '[EMAIL PROTECTED]', 141.156.176.57) called
> at
> /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/AWL.pm line
> 356\n\teval {...} called at
> /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/AWL.pm line
> 352\n\tMail::SpamAssassin::Plugin::AWL::check_from_in_auto_whitelist('Mail:
>:SpamAssassin::Plugin::AWL=HASH(0xc34c6c0)',
> 'Mail::SpamAssassin::PerMsgStatus=HASH(0xcf6[...]
>
> We are running AWL locally as a file, and it's currently 1.3GB large.
> The setup is Amavis 2.5.2, SA 3.1.9, Sendmail pre-queue with
> amavisd-milter 1.3.1 on RHEL 5.

If these timeouts usually occur in the AWL code as the one above,
it is very likely the problem is with that database.


> In /etc/mail/spamassassin/local.cf we have:
> lock_method flock

Good.

> Any ideas? I didn't find much on google. Amavisd-nanny shows the process
> like this, before it's terminated:
> PID 20684: 20684         0:09:35 =========:=========:=========:===S>
> We have max_servers set to 15.

Try to rebuild the AWL database. Better yet, move it to a SQL server
and purge the entries which have a count of one.

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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