Re: ClamAV consumes so much memory that my Postfix service gets killed by OOM Killer from time to time

Matus UHLAR - fantomas via clamav-users <[email protected]>
Newsgroups gmane.comp.security.virus.clamav.user
Message-ID <[email protected]>
On 04.03.25 12:49, Turritopsis Dohrnii Teo En Ming via clamav-users wrote:
> From the above output, it appears that clamscan is being used automatically.
>
> When I login to my Virtualmin web hosting control panel, I will click 
> Virtualmin at the top left, then click Email Settings > Spam and Virus 
> Scanning.
>
> Under the "Global spam and virus scanner options" tab, "Virus scanning 
> program" option, the Standalone scanner (clamscan) was automatically 
> selected.  PLEASE NOTE THAT I HAVE NEVER CONFIGURED THIS SETTING BEFORE IN 
> THE PAST.  If I change the "Virus scanning program" option to Local server 
> scanner (clamd), will my situation improve tremendously?  Will the memory 
> footprint reduce and bring about enhanced stability to my AlmaLinux 9.5 
> Virtual Private Server (VPS) in Germany?

Yes, as I wrote in one of my previous e-mails, scanning using "clamd" uses 
much less memory.

https://marc.info/?l=postfix-users&m=174101580201668&w=2

Note that I don't use virtualmin so I don't know how exactly it works, 
however virtualmin seems to already have option for that as It was already 
mentioned:

https://marc.info/?l=postfix-users&m=174101817003588&w=2

see the page:

https://www.virtualmin.com/docs/server-components/spam-and-virus-scanning/

the section "Reducing CPU load with Clamd"
-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I just got lost in thought. It was unfamiliar territory.
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.