ClamAv high CPU load
Hi!
I'm trying to figure out, how to cancel/rescgedule automatic ClamAV scans almost every hour.
I can see in the Process Manager the following process:
/usr/local/cpanel/3rdparty/bin/clamscan --recursive --infected --no-summary /home/our_domain/public_html/Legacy
when I kill it manually, another process starts:
/usr/local/cpanel/3rdparty/bin/clamscan --no-summary --infected --recursive -d /admin/whitelist.fp -d /admin/clamav/interservertopline.db -d /admin/shellb.db -d /admin/shellb.ldb -d /admin/shellb.hdb /home/our_domain/public_html/Legacy
Killing the second one helps until the next time. During the scan I get longer system repsonse time and high CPU load.
We're using Imunify360, so tried to contact both cPanel and Imunify360 support, but they told me neither cPanel nor Imunify360 causing it. I've checked cron - nothing about clamscan there.
What else should I check?
Thank you!
-
Hey there! How much RAM does your system have? We recommend a minimum of 3G of RAM for ClamAV, as it does use a lot of resources, so it's totally possible what you're seeing is normal activity. You can always uninstall the plugin if you wanted to remove it completely. 0 -
We have 12Gb of RAM and 6 coes on the VPS. Besides cPanel we're using Imunify360 and ASSP Deluxe (I believe we need clamAV for it). So actually I don't want to remove it completely, but just disable this every hour scans of the home directory. Does everyone have them? Why clamAV is SO slow? Scanning 30 mailboxes (60Gb total) takes the whole weekend (over 48 hours)... 0 -
Thanks for the additional details. It sounds like there could be something else happening with the machine as I wouldn't expect it to be that slow. Could you create a support ticket with our team so we can examine the server directly? 0 -
OK, thank you, I'll try that! It's my first VPS, so could you tell me, please, how fast should be scanning of 60Gb of emails? Few hours? 0 -
I actually have no idea - I don't think we have any specific timeframe or numbers on that. 0 -
We have 12Gb of RAM and 6 coes on the VPS. Besides cPanel we're using Imunify360 and ASSP Deluxe (I believe we need clamAV for it). So actually I don't want to remove it completely, but just disable this every hour scans of the home directory. Does everyone have them? Why clamAV is SO slow? Scanning 30 mailboxes (60Gb total) takes the whole weekend (over 48 hours)...
I also found today into process manager clamav -d consuming 90% of cpu now a days. using 8 gb of ram even server going stop i restart the server and solve it, but again same problem. temprary to solve it i disable the clamav From last 2-3 year not get this type of problem.0 -
@ExpertWebWorld - does your server receive a large amount of email traffic? 0
Please sign in to leave a comment.
Comments
7 comments