Control Web Panel

Security => Mod_Security => Topic started by: adamjedgar on November 19, 2019, 12:09:46 PM

Title: Excessive Resource Usage:Clamupdate
Post by: adamjedgar on November 19, 2019, 12:09:46 PM
My system has the following specs
CWP Pro (latest stable)
Apache
1CPU
2GB RAM No cache (61% used)
1.72GB Memory cached (86%)
1GB Swap (only 7% used, 93% available)

I am getting the following notification when freshclam is executed and i want to fix it. At this point in time, changing system specs is not my preferred option.

How to fix the following notification?


Account:      clamupdate
Resource:     RSS Memory Size
Exceeded:     410 > 256 (MB)
Executable:   /usr/bin/freshclam
Command Line: /usr/bin/freshclam --quiet
PID:          32470 (Parent PID:32467)
Killed:       No
Title: Re: Excessive Resource Usage:Clamupdate
Post by: Igor S. on December 29, 2019, 08:01:20 AM
You have two ways for the fix.
1. Add exe:/usr/bin/freshclam to /etc/csf/csf.pignore
2. Increase PT_USERMEM in /etc/csf/csf.conf to 512M
 
Title: Re: Excessive Resource Usage:Clamupdate
Post by: interweb on July 03, 2021, 03:09:31 PM
The value was already configured as you indicate:
PT_USERMEM in /etc/csf/csf.conf to 512M

Will I need to apply the first correction?

Thank You!