On 03/15/2011 07:54 AM, Peter Peltonen wrote:
On Tue, Mar 15, 2011 at 4:17 PM, Eric Shubert<[email protected]>  wrote:
On 03/15/2011 03:26 AM, Pak Ogah wrote:

On 15-Mar-11 16:46, Peter Peltonen wrote:

One qmailtoaster server I am responsible of is doing a RAID rebuild
and disk IO is quite slow. Therefore I thought about disabling ClamAV
and SpamAssassin scanning for time being. Reading
http://wiki.qmailtoaster.com/index.php/Simscan I ended up modifying
simcontrol to look like this:

:clam=no,spam=no,spam_hits=12

and issuing /var/qmail/bin/simscanmk -g

What keeps me puzzled is that I see the process now and then in top
(eating 90 % CPU at times). No idea what it is doing.

Questions: Can I now just stop clamav with svscan? If it is not
enabled in simcontrol, my toaster shouldn't use it for anything,
right?

Best,
Peter

you can
touch /var/qmail/supervise/clamd/down
service qmail stop
sleep 10
service qmail stat<= make sure all qmail service stop
service qmail start

or if you already installed qtp you can
qmail-spam stop
qmail-clam stop



---------------------------------------------------------------------------------


Also, there was a buggy version of clamav which would eat the cpu. I expect
that if you upgrade clamav, you'll be fine.

The clamav-toaster package should really be kept up to date as much as
possible. FWIW, a while ago clamav packages past a certain age (and not all
that old) quit working entirely. I didn't think that was a good move by the
clamav folks, but this shows that it not only can but has happened.

Well, I don't need clamav there anyway as there is a another scanner
in between.

I just wanted to confirm that it is okay to shut down clamav and it
won't affect the other toaster parts.

Thanks for your info,
Peter

---------------------------------------------------------------------------------

You should be fine, I think. We should probably have a wiki page about clamav. How to disable it, freshclam, using sane-security, and whatever else.

FWIW, I think it's a good idea to have more rather than fewer virus scanners. They're not all the same, and inevitably one will catch things that another won't. To be honest though, there seems to be fewer viruses going around these days (just a gut feel - I've no empirical evidence). Perhaps because there are so many scanners? ;)

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to