The OOM killer kills the CLAM daemon on the proxmox mail gateway.
The LXC container has 8Gb RAM which is twice the recommended amount. My problem is, Proxmox VE insists there is no memory shortage:
What causes proxmox mail gateway to use so much memory that the OOM killer is invoked? Why does proxmox VE not properly monitor the memory demand in LXC containers?
Bash:
root@antispam1:~# dmesg -T | egrep -i 'killed process'
[Mon Jun 15 11:02:06 2020] Memory cgroup out of memory: Killed process 195913 (clamd) total-vm:1939452kB, anon-rss:1387168kB, file-rss:0kB, shmem-rss:0kB, UID:100108 pgtables:3328kB oom_score_adj:0
[Mon Jun 15 12:37:25 2020] Memory cgroup out of memory: Killed process 3915135 (clamd) total-vm:1652460kB, anon-rss:1224264kB, file-rss:0kB, shmem-rss:0kB, UID:100108 pgtables:2680kB oom_score_adj:0
[Mon Jun 15 13:16:24 2020] Memory cgroup out of memory: Killed process 780253 (clamd) total-vm:1504944kB, anon-rss:1204088kB, file-rss:0kB, shmem-rss:0kB, UID:100108 pgtables:2592kB oom_score_adj:0
The LXC container has 8Gb RAM which is twice the recommended amount. My problem is, Proxmox VE insists there is no memory shortage:
What causes proxmox mail gateway to use so much memory that the OOM killer is invoked? Why does proxmox VE not properly monitor the memory demand in LXC containers?