OK I've found something odd.
If I recompile php without the suhosin patch then I get segfaults with eaccellerator turned on.
If I turn off eaccellerator then it works fine. Its actually been raised as an eaccelerator bug.
And I've found the following in a google discussion:
Suhosin reports heap overflow on PHP lines with list(,$temp)
construction (empty variables).
After running for a few hours, my webserver starts returning 500
errors on specific PHP scripts and I have those entries in the /var/
log/messages:
ALERT - canary mismatch on efree() - heap overflow detected (...)
It also shows me the script name and the line number. Each of the
scripts involved has list(,$temp) constructions on those lines, so I
assume, there might be some kind of a leak in PHP, Eaccelerator or
Suhosin. Anyways, I'm posting this bug to all 3 buglists, just in
case.
Code:
list(, $pg, $t, ) = pagebar(100, 12, "", $page);
The only thing that helps is running eaccelerator_clear() function
every hour.
So I wonder if WPMU has got some of these sort of constructs in it.