歡迎您光臨本站 註冊首頁

php5.2.13 FPM 出現segfault 求幫助

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

php5.2.13 FPM 出現segfault 求幫助

伺服器環境
centos 5.4 x86 mysql4.1.43 nginx0.8.x php5.2.13 FPM eAccelerator
uname -aLinux localhost.localdomain 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64 x86_64 x86_64 GNU/Linux/usr/local/php/bin/php-cgi -vPHP 5.2.13 (cgi-fcgi) (built: Mar 20 2010 11:48:33)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with eAccelerator v0.9.6, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies只要載入eAccelerator 就會出現segfault

tail /var/log/messagesMay  4 02:44:07 localhost kernel: php-cgi: segfault at 00007fff7d72c9f8 rip 00002b1e8aed6e34 rsp 00007fff7d72ca00 error 6
May  4 02:44:07 localhost kernel: php-cgi: segfault at 00007fff7d72c9f8 rip 00002b1e8aed6e34 rsp 00007fff7d72ca00 error 6
May  4 02:44:07 localhost kernel: php-cgi: segfault at 00007fff7d72b2c8 rip 00002b1e8aed6e34 rsp 00007fff7d72b2d0 error 6
May  4 02:44:08 localhost kernel: php-cgi: segfault at 00007fff05ccd8a8 rip 00002b073a53ce34 rsp 00007fff05ccd8b0 error 6
May  4 02:44:08 localhost kernel: php-cgi: segfault at 00007fff05ccd8a8 rip 00002b073a53ce34 rsp 00007fff05ccd8b0 error 6
May  4 02:44:08 localhost kernel: php-cgi: segfault at 00007fff05ccd8a8 rip 00002b073a53ce34 rsp 00007fff05ccd8b0 error 6
May  4 02:44:08 localhost kernel: php-cgi: segfault at 00007fff05ccd8a8 rip 00002b073a53ce34 rsp 00007fff05ccd8b0 error 6
May  4 02:44:09 localhost kernel: php-cgi: segfault at 00007fff05ccd8a8 rip 00002b073a53ce34 rsp 00007fff05ccd8b0 error 6
May  4 02:44:09 localhost kernel: php-cgi: segfault at 00007fff05ccd8a8 rip 00002b073a53ce34 rsp 00007fff05ccd8b0 error 6
May  4 02:44:09 localhost kernel: php-cgi: segfault at 00007fff05ccd8a8 rip 00002b073a53ce34 rsp 00007fff05ccd8b0 error 6tail /var/log/php-fpm.logMay 04 02:44:08.687266 fpm_children_make(), line 352: child 25345 (pool default) started
May 04 02:44:09.037198 fpm_got_signal(), line 48: received SIGCHLD
May 04 02:44:09.037247 fpm_children_bury(), line 215: child 25313 (pool default) exited on signal 11 SIGSEGV after 1.315966 seconds from start
May 04 02:44:09.038214 fpm_children_make(), line 352: child 25346 (pool default) started
May 04 02:44:09.433961 fpm_got_signal(), line 48: received SIGCHLD
May 04 02:44:09.434017 fpm_children_bury(), line 215: child 25318 (pool default) exited on signal 11 SIGSEGV after 1.708819 seconds from start
May 04 02:44:09.435164 fpm_children_make(), line 352: child 25347 (pool default) started
May 04 02:44:09.442854 fpm_got_signal(), line 48: received SIGCHLD
May 04 02:44:09.442900 fpm_children_bury(), line 215: child 25319 (pool default) exited on signal 11 SIGSEGV after 1.716826 seconds from start
May 04 02:44:09.443969 fpm_children_make(), line 352: child 25348 (pool default) started目前已經嘗試

1、php版本換至5.2.10.依然出現segfault
2、放棄eAccelerator,使用Xcache。不出錯,但是Xcache加速功能不明顯

在網上也看到一些回帖或者博客留言裡面有朋友有同樣問題,但是沒有解決方案,求CU的熱心朋友們幫忙
《解決方案》

怎麼沒人來瞧瞧
《解決方案》

我也遇到這個,但是也沒有用eAccelerator呀

[火星人 ] php5.2.13 FPM 出現segfault 求幫助已經有440次圍觀

http://coctec.com/docs/service/show-post-12440.html