"Fajar A. Nugraha" <[EMAIL PROTECTED]> writes:

> Erik Bourget wrote:
>
>>I've got clamd processing a ton of mail, it does a good job not crashing
>>these days (cvs as of a week or so ago), but the new problem is as bad or
>> worse - the hanging.  
>>
> I use recent snapshot to handle lots of mail (for over 1 million
> users). AFAIK, It hasn't hang, nor crashed.
> How do you set up your clamav.conf? Did you disable timeout, archive size
> limit, etc?
>
> The default config file should work fine.

Additional tidbit:

When clamd is normally running, pstree shows me:

clamd --- clamd --- clamd

When it is hung, I see only

clamd --- clamd

How about this config file?

LocalSocket /var/run/clamd.ctl
Foreground
ScanArchive
ScanMail
DatabaseMirror database.clamav.net
StreamSaveToDisk
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxFileSize 10M
ThreadTimeout 180
MaxThreads 5
MaxConnectionQueueLength 15
PidFile /var/run/clamd.pid
DataDirectory /var/lib/clamav/
SelfCheck 3600


and this daemontools run script:
#!/bin/sh

exec 2>&1
killall -9 clamd
rm -f /var/run/clamd.*
exec softlimit -m 60000000 \
        clamd

Thanks, 
Erik



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to