ClamAv High memory consuption, OOm killer in action
ClamAv High memory consuption, OOm killer in action
Debian 11.3 64bit
Server virtualization technology used
Proxmox
KeyHelp version + build number
KeyHelp 22.0 (Build 2393)
Problem description / error messages
When the clamav update, the server run out of memory, and the OOm killer randomly kill something. If it is an fpm process it is not a problem, if it is a mysqld process it is a problem.
Expected result
Everything working normal
Actual result
Mysqld Killed by OOm killer
Steps to reproduce
4 GB ram, no swap, random event.
Additional information
Debian 11.3, fresh install, two sites, both run php7.3.
There is a new switch to ClamAV called ConcurrentDatabaseReload If it sets to no, it reduce the memory consuption on new updates. I suggest it will be a default, or a configurable item.
https://blog.clamav.net/2020/09/clamav- ... eased.html
Re: ClamAv High memory consuption, OOm killer in action
--
A Windows user reinstalls software every few weeks.
A Linux user reinstalls software every few weeks.
The difference is with Linux the version numbers change.
Re: ClamAv High memory consuption, OOm killer in action
this is not an issue of KeyHelp.
By the way, you can turn ClamAV email checks off, which should save you lots of RAM.
Go to KeyHelp Admin Area -> "Configuration" -> "Email Server" -> Uncheck the "Email virus checks" checkbox
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
- BasHeijermans
- KeyHelp Translator
- Posts: 170
- Joined: Mon 20. Jun 2022, 12:01
- Location: Heppen Belgium
- Contact:
Re: ClamAv High memory consuption, OOm killer in action
Code: Select all
apt remove oomd
Then your 4GB will be more then enough.
Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.