Agon S. Buchholz wrote:
Tim Starling wrote:
It sounds like you're running a threaded MPM and PHP is segfaulting. To avoid having MediaWiki interfere with other apps, use the prefork MPM whenever you are using PHP. This is strongly recommended by the PHP manual.
I'm running Apache2 as Prefork MPM [1]; in Debian, that is done automagically when installing PHP. At least it is supposed to do so according to the documentation and to my package database.
I believe I have written a post or two in the past about debugging and fixing segfaults. I'll repeat some basic principles here in brief.
Is there any way to determine, if httpd (or whatever) really *is* segfaulting?
run it on a debugger (likely gdb). It will catch teh segfault and tell you where the segfault is.
At least in "mytop" I can see that sql statements seem to be processed; somehow they have to get there.
If I enter a nonexisting article name in the search box, in "mytop" something like this appears:
Query SELECT page_id, page_namespace, page_title FROM `page`,`searchindex` WHERE page_id=si_page AND [...]
The rest of the sql statement i can not read (it doesn't do line breaks). However, this appears like the beginning of an valid statement, even if it simply stays there "forever".
Read it in the page source.