1847254 Members
4461 Online
110263 Solutions
New Discussion

Clam Antivirus High CPU

 
Lawrence Law
New Member

Clam Antivirus High CPU

Hi All,

Is there anyone using Clam Antivirus on HPUX 11i? I find this av software always draws a lot of CPU utilization on real time scanning and full system scan. Is there any paramater tunning to enhance this issue?

Regards,
Lawrence Law
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Clam Antivirus High CPU

How about using nice/renice to reduce the priority?


Pete

Pete
spex
Honored Contributor

Re: Clam Antivirus High CPU

Hi Lawrence,

# man 5 clamd.conf
for configuration options.

Pay close attention to the following directives:
* MaxThreads
* MaxDirectoryRecursion
* SelfCheck
* ScanHTML
* ScanMail
* ScanArchive
* ScanRAR
* Archive*

PCS

Lawrence Law
New Member

Re: Clam Antivirus High CPU

Hi all,

I tried to renice the process but it doesn't help much. The CPU utilization goes to almost 100% after clamscan starts.

I used default paramater in clamd.conf file. And my concern is high CPU utilization during clamscan process. The clamd process doesn't take up much CPU util.

Anyone has idea to limit the utilization for clamscan? Are there any parameter I can pass to clamscan to control the CPU util?

Regards,
Lawrence Law
Steven E. Protter
Exalted Contributor

Re: Clam Antivirus High CPU

Shalom Lawrence,

Scanning an entire system is a very cpu and sometimes disk intensive operation. It may be something you need to tolerate when you run the product.

You get better results by scanning at a time when the system is idle or limiting the scan to where virus are mostly likely to be, say in the /var filesystem where the mail queues are.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Lawrence Law
New Member

Re: Clam Antivirus High CPU

Hi,

I'm trying to scan virus folder by folder during server idle period. However, the CPU goes up to 100% when the clamscan process starts.

I am thinking the way to generate a list of modified files since last scan time. Then I can just script the clamscan to scan only these modified file.

Are there any sample scripts to do this?

Regards,
Lawrence Law
KapilRaj
Honored Contributor

Re: Clam Antivirus High CPU

antivirus & unix ???? Am I dreaming ?
Nothing is impossible