Hello Everyone,
I have been trying to sort out an issue with clamd on CWP/Centos 7.
Clamd is taking up 100% of my CPU. I am getting the following errors in my maillog:
Aug 9 12:03:12 server1 clamd[29684]: Bytecode: Security mode set to "TrustSigned".
Aug 9 12:03:25 server1 clamd[29684]: Loaded 6603580 signatures.
Aug 9 12:03:26 server1 clamd[29684]: LOCAL: Socket file /var/run/clamd.amavisd/clamd.sock is in use by another process.
Aug 9 12:03:26 server1 clamd[29708]: Received 0 file descriptor(s) from systemd.
Aug 9 12:03:26 server1 clamd[29708]: clamd daemon 0.100.1 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Aug 9 12:03:26 server1 clamd[29708]: Running as user amavis (UID 989, GID 987)
Aug 9 12:03:26 server1 clamd[29708]: Log file size limited to 1048576 bytes.
Aug 9 12:03:26 server1 clamd[29708]: Reading databases from /var/lib/clamav
Aug 9 12:03:26 server1 clamd[29708]: Not loading PUA signatures.
I have tried:
Running /scripts/clamd_fix_100_cpu_usage
Removing amavis/clamd packages and their configuration files and rebuilding the mail server from the control panel
manually stopping clamd and removing /var/run/clamd.amavisd/clamd.sock and restarting