Clamscan eats a lot of cpu

Glenn Steen glenn.steen at gmail.com
Wed Oct 15 17:56:23 IST 2008


2008/10/15 Meurlin Robert <Robert.Meurlin at se.fujitsu.com>:
> Is it just to change to the following line in /usr/lib/MailScanner/clamav-wrapper :
>
> ClamScan=$1/bin/clamdscan
>
> Instead of
> ClamScan=$1/bin/clamscan
>
> ?
>
To paraphrase Donald Ducks Christmas (as sent on swedish TV.... Robert
knows what I'm on about:-)... Nej nej nej dumsnut! ...:-)

There are setup instructions on the wiki that you should be able to
use. There was, prior to the clamd support, an effort to make what you
suggest above work... But clamd is much better... Using Rick Coopers
perl interface, MS will supply the objects directly to the clamd
daemon directly without the need to fork of a "helper program/client".
So you'll have much the same benefits as with clamavmodule, but with a
lot better memory footprint... and the need to monitor the daemon
process.

Cheers
-- Glenn
> -----Ursprungligt meddelande-----
> Från: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] För Glenn Steen
> Skickat: den 10 oktober 2008 16:05
> Till: MailScanner discussion
> Ämne: Re: Clamscan eats a lot of cpu
>
> 2008/10/10 Steven Andrews <sandrews at andrewscompanies.com>:
>> Most of my boxes are very low volume.  I quit using clamd when it had a
>> habit of just dying for not good reason; is it happy and stable now?
>>
>> Is there a wiki for setting up clamd?
>>
> Yes.
>
> To "manage" where clamd dies, use the simple "clamdmon" cron scriptlet.
>
> -- Glenn
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info
>> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Alex
>> Broens
>> Sent: Friday, October 10, 2008 7:30 AM
>> To: MailScanner discussion
>> Subject: Re: Clamscan eats a lot of cpu
>>
>> On 10/10/2008 12:57 PM, Meurlin Robert wrote:
>>> Hello,
>>> have a problem that process "clamscan" eats a lot of cpu, there are
>>> always like 5-8 clamscan processes even if there are not anything to
>>> scan.
>>>
>>> I have the latest version of Julians Mailscanner package.
>>>
>>> Would be great if someone have any advice?
>>
>> use clamd
>>
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>
>
>
> --
> -- Glenn
> email: glenn < dot > steen < at > gmail < dot > com
> work: glenn < dot > steen < at > ap1 < dot > se
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>



-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list