Wordpress Developer & Photographer
Wordpress Developer & Photographer

Edit CSF.conf to Increase Virtual Memory Limit Alert Threshold

When using ConfigServer Firewall (CSF) you may encounter a large volume of email notifications warning of the virtual memory limit being exceeded. This may often happen in an event_mpm PHP-FPM environment. The tweak below allows you to adjust the value to a higher one.

vi /etc/csf/csf.conf
# use " / " and type PT_MEMORY
# Capital A to append end of line, or I to insert
# Adjust value high enough to stop lfd alerts to stop firing
# hit esc
:wq