Topic: CentOS 7-1908 ClamAV high cpu load 100%
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9 OPENLDAP edition and 1.0-beta2 OPENLDAP edition
- Deployed with iRedMail downloadable installer?
- Linux/BSD distribution name and version: CentOS 7-1908 lastest
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? yes and before upgrade to iredadmin-pro
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi.
I have see this clamav make a high cpuloads on my iredmail server, i have try to install a new server and the old one.
and google on it and everybody say memory and i have 4gb memory and i run it under vm in xenserver 8.
and have try diffrent things and nothings helps, i don't want to disable spam/virus check
and clam is not coming so long so that make socks file.
looks like this in top command:
2813 amavis 20 0 519016 410708 3276 R 100.0 10.2 0:38.65 clamd
Oct 23 22:47:34 mail amavis[2115]: Using primary internal av scanner code for clamav-socket
Oct 23 22:47:34 mail amavis[2115]: Found secondary av scanner clamav-clamscan at /usr/bin/clamscan
Oct 23 22:47:38 mail amavis[2284]: (!)policy protocol: INVALID AM.PDP ATTRIBUTE LINE: POST / HTTP/1.1\r\n
Oct 23 22:47:38 mail amavis[2284]: (!!)policy_server FAILED: Missing 'request' field at (eval 127) line 197, <GEN21> line 7.
Oct 23 22:47:39 mail amavis[2285]: (!)policy protocol: INVALID AM.PDP ATTRIBUTE LINE: POST / HTTP/1.1\r\n
Oct 23 22:47:39 mail amavis[2285]: (!!)policy_server FAILED: Missing 'request' field at (eval 127) line 197, <GEN21> line 7.
Oct 23 22:47:40 mail amavis[2284]: (!)policy protocol: INVALID AM.PDP ATTRIBUTE LINE: [{"version": "1.1", "params": [], "id": 0, "method": "getmempoolinfo"}, {"version": "1.1", "params": [], "id": 1, "method": "getnetworkinfo"}, {"version": "1.1", "params": [], "id": 2, "method": "getblockchaininfo"}, {"version": "1
.1", "params": [], "id": 3, "method": "getmemoryinfo"}, {"version": "1.1", "params": [], "id": 4, "method": "gettxoutsetinfo"}]
Oct 23 22:47:40 mail amavis[2285]: (!)policy protocol: INVALID AM.PDP ATTRIBUTE LINE: [{"version": "1.1", "params": [], "id": 0, "method": "getmempoolinfo"}, {"version": "1.1", "params": [], "id": 1, "method": "getnetworkinfo"}, {"version": "1.1", "params": [], "id": 2, "method": "getblockchaininfo"}, {"version": "1
.1", "params": [], "id": 3, "method": "getmemoryinfo"}, {"version": "1.1", "params": [], "id": 4, "method": "gettxoutsetinfo"}]
Oct 23 22:48:52 mail clamd[2393]: Received 0 file descriptor(s) from systemd.
Oct 23 22:48:52 mail clamd[2393]: clamd daemon 0.101.4 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Oct 23 22:48:52 mail clamd[2393]: Running as user amavis (UID 990, GID 987)
Oct 23 22:48:52 mail clamd[2393]: Log file size limited to 1048576 bytes.
Oct 23 22:48:52 mail clamd[2393]: Reading databases from /var/lib/clamav
Oct 23 22:48:52 mail clamd[2393]: Not loading PUA signatures.
Oct 23 22:48:52 mail clamd[2393]: Bytecode: Security mode set to "TrustSigned".
Oct 23 22:50:23 mail clamd[2455]: Received 0 file descriptor(s) from systemd.
Oct 23 22:50:23 mail clamd[2455]: clamd daemon 0.101.4 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Oct 23 22:50:23 mail clamd[2455]: Running as user amavis (UID 990, GID 987)
Oct 23 22:50:23 mail clamd[2455]: Log file size limited to 1048576 bytes.
Oct 23 22:50:23 mail clamd[2455]: Reading databases from /var/lib/clamav
Oct 23 22:50:23 mail clamd[2455]: Not loading PUA signatures.
Oct 23 22:50:23 mail clamd[2455]: Bytecode: Security mode set to "TrustSigned".
So what should i do for fix it?
if you need some more information tell me.. so i fix it.
best regards bjorne j.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.