Hello I have a problem my vps is set to 100% if I have clamd active or clamAV I have tried with the script that is supposed to solve the problem, but I do not solve the problem that the virtual machine is set to 100%.
you can run this script and wait
sh /scripts/clamd_fix_100_cpu_usage
this script can not fix the problem CPU 100%
There is no way to put the image where you see that I have disabled the clamd or clamav service on the system.
In Services config - Startup services
In the CentOS 7 console:
[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 Thu 2020-07-16 10:05:19 UTC; 1h 33min ago
Docs: man:clamd(
man:clamd.conf(5)
https://www.clamav.net/documents/ Process: 32257 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/amavisd.conf --foreground=yes (code=killed, signal=TERM)
Main PID: 32257 (code=killed, signal=TERM)
Jul 16 10:05:19 mail.midominio.com systemd[1]: clamd.service holdoff time over, scheduling restart.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopped clamd scanner () daemon.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Started clamd scanner () daemon.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopping clamd scanner () daemon...
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopped clamd scanner () daemon.
long ago I put the line:
systemctl disable clamd
What is the solution to the problem? thank you.