|
From: SRH-Lists <gi...@33...> - 2004-04-16 16:47:52
|
I think I have this one figured out. I started amavis like this: amavisd debug-sa > /home/filter/amadgb 2>&1 & and waited and waited for it to crash (watched pot/no boiling), finally, I decided it was fine and went to deploy it at a much higher volume site, et voila, back to the occasional run away amavis process. Ran amavisd as above, and this time it had the decency to hang while I was watching. Here is what happened: Apr 14 21:59:20 filter.example.com amavisd[28790]: (28790-04) 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 /usr/local/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/Dns.p m line 409, <GEN6> line 702. Ah ha!! A quick google for those errors led me to this: http://www.renaissoft.com/pipermail/maia-users/2004-January/000769.html The jist of which is that OpenBSD has a pretty low setting for max openfiles unless you: 1) Increase it for the default login group in login.conf -OR- 2) add the user that amavis is using to the daemon login group (which has higher settings) This seems (from some random searching) to be happening to a few more folks, although it always gets described differently. I suggest a FAQ item for this. -steve |