Open drmuey opened 3 years ago
apache 2.4.48 mpm_event
I'm also having a problem with modsecurity-apache and memory leak issue.
even without apachectl graceful, the memory usage keeps on growing until crash.
As mentioned in other issues, the ModSecurity-apache connector for use with ModSecurity v3 is not ready for production use.
With Apache, the recommendation is to use ModSecurity v2.9.
thought of using nginx instead of apache as reverse proxy but modsecurity-nginx seems to have the same issue. https://github.com/SpiderLabs/ModSecurity-nginx/issues/236 and even same issue on modsecurity3 itself. https://github.com/SpiderLabs/ModSecurity/issues/2552
hope it'll be fixed soon, and also modsecurity-apache to stage to production.
/etc/systemd/system.conf
has these settings:systemctl daemon-reexec
if you had to edit those (and hard restart apache for good measure,systemctl status httpd | grep Memory
should not have output).systemctl restart httpd
) and the leak goes away