Hi!

I'm experiencing some random crashes (once or twice a day) of amavisd
worker processes.

However, since amavisd runs in daemonized-mode, I don't see any
error-message, I'm just seeing that postfix looses the connection to
amavisd. (See attachend syslog-messages.)

How about redirecting runtime-errors to the log when running daemonized?

The attached patch could do the job. (Just a quick hack, maybe the
location isn't perfect.)

Cheers,
--leo
-- 
-----------------------------------------------------------------------
[EMAIL PROTECTED]                Fax: +43-1-31336-906050
Zentrum fuer Informatikdienste - Wirtschaftsuniversitaet Wien - Austria

Mar  4 11:16:20 strike postfix/smtpd[12847]: connect from 
cpe-72-226-101-38.nycap.res.rr.com[72.226.101.38]
Mar  4 11:16:20 strike amavis[12042]: (12042-15) loaded policy bank "STRIKE"
Mar  4 11:16:20 strike postfix/smtpd[12847]: NOQUEUE: 
client=cpe-72-226-101-38.nycap.res.rr.com[72.226.101.38]
Mar  4 11:16:20 strike amavis[12042]: (12042-16) ESMTP:[127.0.0.1]:10024 
/var/amavis/tmp/amavis-20070304T103648-12042: <[EMAIL PROTECTED]> -> <[EMAIL 
PROTECTED]
.at> Received: from strike.wu-wien.ac.at ([127.0.0.1]) by localhost 
(strike.wu-wien.ac.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for 
<[EMAIL PROTECTED]>
; Sun,  4 Mar 2007 11:16:20 +0100 (CET)
Mar  4 11:16:20 strike postfix/smtpd[12847]: warning: lost connection with 
proxy 127.0.0.1:10024
Mar  4 11:16:20 strike amavis[12861]: TIMING [total 7 ms] - bdb-open: 7 
(100%)100, rundown: 0 (0%)100
Mar  4 11:16:20 strike amavis[12861]: storage and lookups will use the same 
connection to SQL
Mar  4 11:16:21 strike postfix/cleanup[12858]: 12D90C03E88: message-id=<[EMAIL 
PROTECTED]>
Mar  4 11:16:21 strike postfix/qmgr[27040]: 12D90C03E88: from=<[EMAIL 
PROTECTED]>, size=849, nrcpt=1 (queue active)
Mar  4 11:16:21 strike postfix/smtpd[12847]: disconnect from 
cpe-72-226-101-38.nycap.res.rr.com[72.226.101.38]
-------------------------------------------------------------------------
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?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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