Dannik
Verified User
Hi,
I have 2 VPS servers running. 1 for testing (1 CPU, 1Gb RAM, 4Gb Swap, CentOS 7) en 1 production (2 CPU, 4Gb RAM, 4Gb Swap, Clloud Linux 7) en both systems seem to suffer from updates of ClamAV (scheduled for 1 or 2 times per day) for about 2 or 3 months now. Like all services on my servers, ClamAV was installed using CB2.
When I disable ClamAV in general, or I disable the updates (Freshclam), the systems run smooth. But when all is enabled, regularly the systems freeze for 10-15 minutes because of high CPU and kswapd0 is heavily doing something with my RAM. This is alway after Clamav restarts after installing a new database:
It's not easy to enter the commandline (because the server reacts quite slow ofcourse), but when I kill the clamd service at that moment the system recovers within a minute.
I have seen errors in the logs before, but I can't seem to find them anymore , partially thanx to rotation I guess.
Does this sound familiair to someone?
Regards,
Danny
I have 2 VPS servers running. 1 for testing (1 CPU, 1Gb RAM, 4Gb Swap, CentOS 7) en 1 production (2 CPU, 4Gb RAM, 4Gb Swap, Clloud Linux 7) en both systems seem to suffer from updates of ClamAV (scheduled for 1 or 2 times per day) for about 2 or 3 months now. Like all services on my servers, ClamAV was installed using CB2.
When I disable ClamAV in general, or I disable the updates (Freshclam), the systems run smooth. But when all is enabled, regularly the systems freeze for 10-15 minutes because of high CPU and kswapd0 is heavily doing something with my RAM. This is alway after Clamav restarts after installing a new database:
Dec 20 16:29:35 server02 clamd: SelfCheck: Database modification detected. Forcing reload.
Dec 20 16:29:35 server02 clamd: Reading databases from /usr/local/share/clamav
Dec 20 16:30:17 server02 clamd: Database correctly reloaded (8894504 signatures)
Dec 20 16:30:17 server02 clamd: Activating the newly loaded database..
It's not easy to enter the commandline (because the server reacts quite slow ofcourse), but when I kill the clamd service at that moment the system recovers within a minute.
I have seen errors in the logs before, but I can't seem to find them anymore , partially thanx to rotation I guess.
Does this sound familiair to someone?
Regards,
Danny