[EMAIL PROTECTED] wrote:
I fee that, as a first measure, I would lower concurrencyincoming to the max
number of
parallel clam scans the machine will handle at reasonable loads
That won't help much, because clamscan runs after qmail-smtpd has died.
I might try to use clamd instead of clamscan like Salvatore suggested,
but assuming it is using the same scanning engine as clamscan, which
never finishes, I wonder what will happen. I don't think all this is
caused by loading definitions, usually clamscan is finished after 0.1-2
seconds.
I don't think I'll go for Denis' suggestion, won't killing clamscan
cause the mail to a) not be delivered now, and b) be deferred? So I'll
just get the email later instead, and there's no reason to think that'll
work any better.
Just as an update, here's the current status on my box, after I cleaned
up everything a couple of hours ago. Sorry for the messy output. Note
the last number before the command line, which is CPU-time used so far.
$ ps aux | grep clam
qscand 30862 40.5 2.1 24352 21868 ? R 10:40 70:11
/usr/bin/clamscan -r -m --unzip --unrar --unzoo --lha --disable-summary
--max-recursion=10 --max-space=100000
/var/spool/qmailscan/tmp/serenity113230682749330813
qscand 32288 28.5 2.1 24352 21868 ? R 11:10 40:56
/usr/bin/clamscan -r -m --unzip --unrar --unzoo --lha --disable-summary
--max-recursion=10 --max-space=100000
/var/spool/qmailscan/tmp/serenity113230861849332264
qscand 1722 23.8 2.1 24348 21908 ? R 11:37 27:47
/usr/bin/clamscan -r -m --unzip --unrar --unzoo --lha --disable-summary
--max-recursion=10 --max-space=100000
/var/spool/qmailscan/tmp/serenity11323102414931697
qscand 3131 20.5 2.1 24348 21908 ? R 12:09 17:25
/usr/bin/clamscan -r -m --unzip --unrar --unzoo --lha --disable-summary
--max-recursion=10 --max-space=100000
/var/spool/qmailscan/tmp/serenity11323121254933095
qscand 4820 18.2 2.1 24348 21908 ? R 12:39 10:00
/usr/bin/clamscan -r -m --unzip --unrar --unzoo --lha --disable-summary
--max-recursion=10 --max-space=100000
/var/spool/qmailscan/tmp/serenity11323139404934785
qscand 6234 16.5 2.1 24344 21856 ? R 13:09 4:05
/usr/bin/clamscan -r -m --unzip --unrar --unzoo --lha --disable-summary
--max-recursion=10 --max-space=100000
/var/spool/qmailscan/tmp/serenity11323157384936205
Perhaps someone can see something stupid I've done from this information?
Cheers,
Ketil Froyn
[EMAIL PROTECTED]
http://ketil.froyn.name/
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general