Operating System & Version
CentOS
cPanel & WHM Version
106.0.9

serg499

Member
Nov 19, 2020
21
1
3
USA
cPanel Access Level
Root Administrator
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!
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
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.
 

serg499

Member
Nov 19, 2020
21
1
3
USA
cPanel Access Level
Root Administrator
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)...
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
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?
 
Jun 12, 2012
17
1
53
Panchkula, India, India
cPanel Access Level
Reseller Owner
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.