dazuko-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Dazuko-help] CLAMD CPU usage.


From: Senthil Murugan Palani - ERS, HCL Tech
Subject: RE: [Dazuko-help] CLAMD CPU usage.
Date: Mon, 11 Jan 2010 10:37:40 +0530

Thank you for your reply Ogness. It was Helpful.

> - What version of Dazuko(FS)?

    I am using Dazuko-2.3.7

> - What version of ClamAV?

        Clamav-0.95.2

$ Do we have any option to set priority to clamd. If so can you brief me how to 
do it!

Best regards,
Senthil Murugan.

-----Original Message-----
From: John Ogness [mailto:address@hidden 
Sent: Sunday, January 10, 2010 5:38 PM
To: address@hidden
Cc: Senthil Murugan Palani - ERS, HCL Tech
Subject: Re: [Dazuko-help] CLAMD CPU usage.

On 2010-01-09, John Ogness <address@hidden> wrote:
>> I have a problem when running clamd in my Cent OS system, the CPU
>> usage suddenly rises to 90% for clamd when any operation (even
>> opening a manual page) is done and makes the system to a poor slow
>> state.
>>
>> Why these sudden peeks happen? Better if somebody briefs up why
>> this happen as I don't have any clue!!
>
>
> In order to help you, we need to know what you are using:
>
> - What version of Dazuko(FS)?
> - What version of ClamAV?
>
>> Is there any way to avoid this sudden peek of clamd usage!!
>
> If you are using DazukoFS you can use the "showfiles" utility
> (included in the DazukoFS source package) to see what files are
> being scanned when you do things like opening a man page. This might
> shed some light as to why clamd is taking so long. (Scanning those
> same files without DazukoFS should also take just as long.)

I just ran some quick tests using:

$ ./clamd --version
ClamAV devel-20100110/10277/Sat Jan  9 23:45:07 2010

with DazukoFS 3.1.3-rc1. I have DazukoFS covering all directories on
my system except for the temp directory for ClamAV.

Starting Firefox on my system normally takes 3 seconds. With ClamAV
running, it takes 54 seconds.

ClamAV appears to be quite slow. You can see that it takes multiple
seconds for many files that is scans. To help speed things up, I
turned off archive scanning. (54 seconds was the fast time.)

The performance issues you are experiencing exist because ClamAV is
very CPU-intensive and slow. If ClamAV were to implement scan result
caching, that would improve the performance considerably.

You may want to address your concerns on the ClamAV mailing list.

John Ogness

-- 
Dazuko Maintainer

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]