Been having issues with amavisd-new 2.3.3 shutting down on us mainly in the middle of the night, I restart amavis and all is well until the next night. We are not doing anyting on the server (backups, etc.) at night than we have since before the issue arose. I found the following error in the logs just prior to amavis shutting itself down.

Feb  8 23:04:26 esmtp amavis[53810]: (53810-03) TROUBLE in check_mail:
update_cache FAILED: BDB C db_cursor: Locker does not exist,
Interrupted system call. at (eval 52) line 122.
Feb  8 23:04:26 esmtp amavis[53810]: (53810-03) TROUBLE in process_request:
register_proc: BDB N db_cursor: Locker does not exist,
Interrupted system call. at (eval 51) line 174.

I have disabled bayes in SA last week sometime and I don't believe I have DCC or razor enabled. Although I have score RAZOR2_CHECK 2.500 in the local.cf and both of these installed, I don't see them enabled or can find any reference to them in the logs. I ask this because I found this:

From http://www.ijs.si/software/amavisd/:

   * OpenBSD and NetBSD have a pretty low default setting for max open
     files. To increase it for the default login group edit the
     /etc/login.conf, or add the user vscan to the daemon login group
     which has higher settings. Exceeding the limit can lead to
     spinning amavisd child processes or Berkeley db 'running out of
     lockers', often associated with Razor2, Bayes or DCC checks. With
     debug logging the problem possibly reported as:

 CALLING NoMailAudit::check
 Cannot open bayes databases /var/spool/spamassassin/bayes_* R/O:
   tie failed: Too many open files
 razor2 check skipped: Too many open files IO::Socket::INET:
   Bad protocol 'udp' at .../perl5/.../Mail/SpamAssassin/Dns.pm line 409
   * With earlier version of Berkeley db library (libdb) (e.g. V3.3)
     the following or similar error is sometimes reported:

 TROUBLE in check_mail: virus_scan FAILED:
   BDB db_cursor: Successful return: 0, . at ...amavisd line 5162.
   * Namely, a bdb operation fails, but the reported error is
     'success'. The problem goes away by upgrading libdb to 4.x.

I am running FreeBSD 5.4 and my libdb version is 4.2, any ideas what is causing the issue or where I should look? I am running with Postfix 2.2.8 and SA 3.0.1.

--
Robert


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
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