Package: clamav-milter
Version: 0.81-2

Hi.  I'm using clamav-milter on a pretty busy mail server that uses
sendmail (from debian, 8.13.3-6).  We have run 'testing' for a long
time, and it has worked well until recently (perhaps a few weeks at
most).  Sometimes, in the syslog I get these:

Feb 25 23:47:53 yxa sm-mta[9481]: j1PMhp23009481: Milter (clamav): timeout 
before data read
Feb 25 23:47:53 yxa sm-mta[9481]: j1PMhp23009481: Milter (clamav): to error 
state

And when this happen, I have tons of clamav-milter processes running:

...
clamav    9529  0.0  0.2 391440 2812 ?       S    23:46   0:00 
/usr/sbin/clamav-milter --max-children=2 -ol --external --quiet -Q [EMAIL 
PROTECTED] --pidfile /var/run/clamav/clamav-milter.pid 
local:/var/run/clamav/clamav-milter.ctl
clamav    9570  0.0  0.2 391440 2812 ?       S    23:47   0:00 
/usr/sbin/clamav-milter --max-children=2 -ol --external --quiet -Q [EMAIL 
PROTECTED] --pidfile /var/run/clamav/clamav-milter.pid 
local:/var/run/clamav/clamav-milter.ctl
clamav    9573  0.0  0.2 391440 2812 ?       S    23:47   0:00 
/usr/sbin/clamav-milter --max-children=2 -ol --external --quiet -Q [EMAIL 
PROTECTED] --pidfile /var/run/clamav/clamav-milter.pid 
local:/var/run/clamav/clamav-milter.ctl
clamav    9584  0.0  0.2 391440 2812 ?       S    23:47   0:00 
/usr/sbin/clamav-milter --max-children=2 -ol --external --quiet -Q [EMAIL 
PROTECTED] --pidfile /var/run/clamav/clamav-milter.pid 
local:/var/run/clamav/clamav-milter.ctl
...

yxa-iv:~# ps auxww|grep clama|wc -l
196
yxa-iv:~#

Both clamd and freshclam are still running.

It is not clear exactly what real problems this causes.  Delivering
mail to local users (which should be virus scanned) appear to be
suspended.  No mail is discarded or bounced, as far as I can tell.

If I restart the 'clamav-milter' service, everything starts to work
again.

It doesn't seem to recover from this condition by itself.

Any ideas?

Config files below, at least clamav-milter has been slightly modified.

Thanks,
Simon

/etc/clamav/clamd.conf:

#Automatically Generated by clamav-daemon postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket
User clamav
AllowSupplementaryGroups
ScanMail
ScanArchive
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxFileSize 10M
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
LogFile /var/log/clamav/clamav.log
LogTime
LogFileMaxSize 0
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav/
SelfCheck 3600
ScanOLE2
ScanPE
DetectBrokenExecutables
ScanHTML
ArchiveBlockMax

/etc/default/clamav-milter:

OPTIONS="--max-children=2 -ol --external --quiet -Q [EMAIL PROTECTED]"
#If you want to set an alternate pidfile (why?) please do it here:
#PIDFILE=/var/run/clamav/clamav-milter.pid
#If you want to set an alternate socket, do so here (remember to change
#  sendmail.mc):
#SOCKET=local:/var/run/clamav/clamav-milter.ctl


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to