• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

mod_security making server slow

G

gizmo_24

Guest
After installing mod_security with the total ruleset I noticed that the server gets really slow and sometimes it even doesn't have the resources left for an ssh login :/

Removing mod_security makes the server run fine again.

Does anyone have suggestions on how to improve the mod_security configuration? Maybe a "lite" ruleset?

Running Plesk 7.5.4 on FreeBSD 4.10 with Apache 1.3.33
 
What are your server hardware specs? I have even run mod_security with all 10 rulesets on a Celeron 2.4 with 512MB without having any noticeable slowdowns. I have RH9, Apache 2 on the server. You can always pick and choose which rulesets to use, you do not have to run all of them.
 
the full ruleset is massive.

disable badips, blacklist and blacklist2, and see how it goes, the difference should be huge, while maintaining the same level of appllication security.
 
Back
Top