ModSecurity persistent IP database size alert

Hi just started having these emails every hour below never had them before ?

ModSecurity persistent IP database (/var/cpanel/secdatadir/ip.pag) size is 8.25GB

This requires further investigation otherwise it will start to affect server performance.

I tried the ones provided by cPanel and they don’t do this at all.

Hello, yo can periodically clean this file manually to avoid performance issues.

I have to do this everyday but only on one server all the thers that use Comodo are fine ? so this one will problems i use cPanel for now.

When will a fix be out ?

We know about this issue and it is in our TO DO plan.

ok but why does it only do this on one server and not all of them ?

Probably those servers have a different load and different content, because rules act in a different way depending on requests which are coming.

Any update on thsi yet ?

Same problema here. Any new?

You can try recipe from:;msg830381#msg830381

SecCollectionTimeout 600
In file:

Thanks SergeiP,

Question: Can I make the modification in /etc/apache2/conf.d/modsec/modsec2.user.conf ?

I need restart apache then?


You should restart apache every time when you did configs modification.
What for do you need make the modification in /etc/apache2/conf.d/modsec/modsec2.user.conf?
Actually you can do changes in this file.