分类: BSD
2008-10-15 15:12:38
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.
I assume, this is a eaccelerator leak.