Server operating system + version
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
ClamAv High memory consuption, OOm killer in action
Re: ClamAv High memory consuption, OOm killer in action
If you have no option to increase RAM, use a swap partition or file of at least 8 GB.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: ClamAv High memory consuption, OOm killer in action
Hello,
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
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
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
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: 159
- Joined: Mon 20. Jun 2022, 12:01
- Location: Heppen Belgium
- Contact:
Re: ClamAv High memory consuption, OOm killer in action
You can always remove the oom-killer, then the problem is gone.
And remove some databases from the database-list or disable Anti-Virus.
Then your 4GB will be more then enough.
Code: Select all
apt remove oomd
Then your 4GB will be more then enough.
Greetings Bas.
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.
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.