• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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