dev-php/eaccelerator segfaults on my production dual opteron box. php is working as cgi (dev-php/php-cgi-4.3.10), web server - www-server/nginx-0.1.25, application - phpAdsNew problem occurs under heavy load only and, unfortunately, i can't reproduce it on my amd64 3200+ dev-box. when eaccelerator disabled - everything goes smooth and fine. even worse: i can't debug it on that box, because it's production server logs: Mar 21 11:48:58 z80 kernel: php-cgi[19104]: segfault at 000000000000007f rip 00000000005b47c5 rsp 00007fffffffed80 error 6 Mar 21 11:48:58 z80 kernel: php-cgi[19108]: segfault at 000000000000007f rip 00000000005b47c5 rsp 00007fffffffed80 error 6 Mar 21 11:48:58 z80 kernel: php-cgi[19110]: segfault at 000000000000007f rip 00000000005b47c5 rsp 00007fffffffed80 error 6 Mar 21 11:48:59 z80 kernel: php-cgi[19384]: segfault at 000000000000007f rip 00000000005b47c5 rsp 00007fffffffed80 error 6 Reproducible: Always Steps to Reproduce: 1. emerge dev-php/php-cgi-4.3.10 2. emerge dev-php/eaccelerator 3. make heavy load on php-applications Actual Results: logs are full of segfaults Expected Results: everything works ok
The eAccelerator bug database (http://sourceforge.net/tracker/?group_id=122249&atid=692864) is full of reports about segfaults.
FYI: http://sourceforge.net/mailarchive/forum.php?thread_id=7170342&forum_id=43358
seems to be fixed in latest cvs. at least - works for me. fyi: http://dev.gentoo.org/~voxus/stuff/eaccelerator-0.9.2-branch-update-20050504.diff.bz2