mikeshinn wrote:
Can you post a little more detail here? Like the output of the start, and perhaps a trace of the stuck apache process?
This is what httpd is doing in a loop according to strace (of course, the specific numbers vary):
Quote:
read(103, "", 12828) = 0
gettimeofday({1305548222, 894721}, NULL) = 0
gettimeofday({1305548222, 894783}, NULL) = 0
gettimeofday({1305548222, 894845}, NULL) = 0
gettimeofday({1305548222, 894909}, NULL) = 0
poll([{fd=103, events=POLLIN}], 1, 3000) = 1 ([{fd=103, revents=POLLHUP}])
mikeshinn wrote:
And it sounds like if you have a hung apache process that something else is going on. Nothing has changed in modsecurity, and I've never seen this happen so I dont think that modsecurity is the cause. I looked at your case, and you have gettimeday loop which isnt in modsecurity, so if thats where the stuck apache thread or parent is then its definitely not in modsec. Something is waiting on your system and that code isnt in modsec.
Maybe it's not the root cause, but disabling mod_security does solve the problem and allows us to normally stop and start Apache through its init script.
mikeshinn wrote:
So, the big question is, was this system ever working correctly?
Yes, it was fine until last Sunday.
mikeshinn wrote:
And if it was, what changed?
The latest updates were installed through yum the day before, which were filesystem, apr and python-numeric. I thought the apr update might be the culprit, but I downgraded that package and that didn't solve the problem.
mikeshinn wrote:
If it wasnt ever working, do you have a similar system you can examine as well?
It was working before, but we don't have access to a similar system.