Bugzilla – Bug 334572
patch to glibc-2.5-35.5@686 makes apache2&php-cgi (with use of gettext) fail
Last modified: 2007-10-19 14:58:34 UTC
I run a webserver. After applying the glibc-patch, there are apache errors "premature end of script headers" (on random php-scripts, which use gettext, not every script-run fails). after each failure, a php5-instance remains/hangs, so after a few hours, there are many frozen php5-cgi instances. In the patch description I found the text "Also includes race condition fix for gettext", that is what I guess is the reason.
Does this problem persist after restarting Apache?
yes, the problem persisted after restarting apache. stopping apache killed the php-instances, but after a while the same errors occured again. I verified, that the reason for the problem was the patch: after downgrad glibc to original the problem disappeared.
i forgot to mark the checkbox for providing "needinfo"
Can you find out where are instances hanging, please? Either try to strace them or attach gdb to them and use the bt command (or both :).
I don't know how to do such things. Also I would not apply that patch again on my productive server.
*** This bug has been marked as a duplicate of bug 334777 ***
I have another question: I downgraded glibc to original version to avoid this bug and marked the package as "locked" in yast. Yast-automatic-online-update ignores the locked state and applies this patch again. Is the only solution to this, to completely turn of automatic-online-update? Or is that a bug, too?
I'm sorry, I have no idea about this.