ModSecurity: collections_remove_stale failed
Any suggestions for resolving this issue with mod_security and appearing in the apache error_log?
ModSecurity: collections_remove_stale: Failed deleting collection .......
My ip.pag is about 250MB and it appears that IP's that are supposed to be blocked are not being blocked. Getting a bit frustrating. This ip.pag file sure seems to be collecting more IP's per second than apache is saying its serving per second as well. whats up with that?
-
You can always try clearing it out yourself, simply delete ip.dir and ip.pag and restart apache. The files should recreate themselves as soon as rules are processed. Check your permissions on /tmp and /var/cpanel/secdatadir, /tmp should be 1777 and /var/cpanel/secdatadir should be 1770 Out of curiosity do you happen to be using RUID2? 0 -
No I am not, i am using suphp. I have deleted them and it does appear to have helped. Should we be using logrotate or something like that to maintain these files? If there is a logrotate conf for them, can someone share it with me? 0 -
Hello :) Feel free to update this thread and let us know if lowering the "SecCollectionTimeout" value addressed the issue. Thank you. 0 -
nope. even set it as low as 600. 0 -
Still happening. Super frustrating. I dont know of anyone using any type of pruning process for theirs either. Im not sure what i could be doing differently than others. 0
Please sign in to leave a comment.
Comments
7 comments