Hello all

I've got a postfix + amavisd-new + clamav + spamassasin setup here.
In my efforts to fight the password encrypted virus problem of last week,
I upgraded clamav from a 20030829 snapshot to version 0.67 to make sure I
was using the current stable version and be in sync with what people were
discussing on this list.  I also upgraded amavisd-new from 20030616-p3
to 20030616-p7.  amavisd talks to clamd via a unix socket.

Prior to upgrading, clamd worked flawlessly (Many thanks!).  Now, about
once every three days, one of the clamd threads becomes a zombie, and
and clamd stops responding on its socket.  It does, however, notice that
its virus database has been update and re-reads it, so it's not totally
dead.

Thereafter, amavisd gets stuck waiting as soon as it tries to talk
to clamd:  Almost immediately, all the amavisd processes are stuck
waiting for clamd to respond, and mail starts piling up in the queue,
not being delivered.

Does this sound familiar to anyone?  What can I do to debug this more?
Examining the mail log shows simply that suddenly amavis and clamd stop
writing lines to it.

Here's my clamav.conf:

--------------------------------------------------------------------
LogFile /var/log/clamav/clamd.log
LogFileMaxSize 0
LogTime
LogSyslog
LogVerbose
PidFile /var/run/clamd.amavis/clamd.pid
DataDirectory /var/lib/clamav
LocalSocket /var/spool/amavis/clamd.socket
MaxConnectionQueueLength 30
StreamSaveToDisk
StreamMaxLength 10M
MaxThreads 20
ThreadTimeout 3600
MaxDirectoryRecursion 15
SelfCheck 600
User amavis

## Mail support
ScanMail

# amavis will unpack archives for us, so we don't need these
#ScanArchive
#ArchiveMaxFileSize 10M
#ArchiveMaxRecursion 5
#ArchiveMaxFiles 1000
#ArchiveLimitMemoryUsage
--------------------------------------------------------------------

-- Chris

-- 
Chris Malek
California Institute of Technology
[EMAIL PROTECTED] 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to