Please send me your error.log too.
Let's try to understand where is the problem. Please follow the steps:
Make sure there is a core dump area with something like:
Make sure limits are set to dump core:
ulimit -c unlimited
Restart and trigger the error. A core file should be in the directory
Then use gdb to get a backtrace:
gdb /path/to/httpd /path/to/core --batch --quiet \
-ex "thread apply all bt full" > backtrace.log
Please send me the backtrace.log in a private e-mail.
We're experiencing something odd with modsecurity.
We added modsecurity 2.7.2 to an Apache 2.2.24 server that has never had modsecurity loaded before. Of many hundreds of web sites it serves, one site (that we know of) started spitting out seemingly random binary data instead of the index.html file. This doesn't happen every time you load the page, but always with the same site.
The output was mostly gibberish, with the occasional recognisable string that clearly came from .htaccess files and virtual host config files that the main config includes. Basically it looks like it was dumping memory. And so much of it that the browser hangs.
Note that there were *no* rules loaded, and SecRuleEngine was not even on, simply having the module loaded caused the problem. MMAP and Sendfile are off. We recompiled Apache and all modules (FreeBSD). The site in question has no PHP, just plain html. They do have a .htaccess file that enables SSI, adds some expire headers, and enabled mod_deflate.
We've removed modsecurity and the problem goes away. We add it back and the problem returns, so it pretty clearly has something to do with modsecurity, although it could be that some other module is also related. The modules in use are listed at the end of this message.
Also, httpd appears to segfault when this happens (not sure if it's the same request as I don't have mod_forensic installed at the moment, but it never segfaults when modsecurity is not loaded).Any thoughts? Any more info I should provide?MarkLoaded Modules:
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
mod-security-users mailing list
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs: