Control Web Panel
WebPanel => CentOS Configuration => Topic started by: techcomputerworld on June 22, 2020, 10:02:34 AM
-
My problem is that the virtual machine with ClamAV is set to 100% and the web pages are not going well, I have to work without ClamAV and I have tried the method both from the control panel to stop ClamAV and to set a task that directly stops the clamd service, every hour, and no method works, how do I solve the problem?
-
you can run this script and wait
sh /scripts/clamd_fix_100_cpu_usage
-
thanks but it does not fix the problem, I tried to remove the service from the system startup and as I saw that there was no way then I tried every hour to do a systemctl stop clamd, but it does not work either
-
Hello I've tried your solution but I've seen that solution is to disable clamd which is clamav, below I have put the command:
[root@mail ~]# systemctl disable clamd
You have new mail in /var/spool/mail/root
[root@mail ~]# systemctl status clamd
● clamd.service - clamd scanner () daemon
Loaded: loaded (/usr/lib/systemd/system/clamd.service; disabled; vendor preset: disabled)
Active: inactive (dead) since Tue 2020-07-07 09:08:20 UTC; 18min ago
Docs: man:clamd(8)
man:clamd.conf(5)
https://www.clamav.net/documents/
Main PID: 9004 (code=killed, signal=TERM)
Jul 07 09:08:19 mail.liberalaconciencia.com systemd[1]: clamd.service holdoff time over, scheduling restart.
Jul 07 09:08:19 mail.liberalaconciencia.com systemd[1]: Stopped clamd scanner () daemon.
Jul 07 09:08:19 mail.liberalaconciencia.com systemd[1]: Started clamd scanner () daemon.
Jul 07 09:08:20 mail.liberalaconciencia.com systemd[1]: Stopping clamd scanner () daemon...
Jul 07 09:08:20 mail.liberalaconciencia.com systemd[1]: Stopped clamd scanner () daemon.