【问题标题】:Exited on signal 11 (nginx + php-fpm)退出信号 11 (nginx + php-fpm)
【发布时间】:2015-07-22 23:58:45
【问题描述】:

我正在创建一个 PHP 脚本。 该脚本接收一些发布数据并对其进行处理。

我在 /var/log/php5-fpm.log 中发现了这个错误

[11-May-2015 15:34:03] WARNING: [pool www] child 2553 exited on signal 11 (SIGSEGV - core dumped) after 6943.521858 seconds from start
[11-May-2015 15:34:03] NOTICE: [pool www] child 3882 started

核心转储:

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux gnu/libthread_db.so.1".
Core was generated by `                                   '.
Program terminated with signal 11, Segmentation fault.
#0  0x083dce46 in ?? ()

gdb 回溯:

#0  0x083dce46 in ?? ()
#1  0x083e5074 in ?? ()
#2  0x083ed718 in ?? () 
#3  0x083e494f in ?? ()
#4  0x082c1df1 in php_log_err ()
#5  0x082c226e in ?? ()
#6  0x081c13cb in ?? ()
#7  0x0832a7b7 in zend_error ()
#8  0x083b7ff6 in ?? ()
#9  0x083b921f in ?? ()
#10 0x083957a5 in execute ()
#11 0x0832b5f9 in zend_execute_scripts ()
#12 0x082c510e in php_execute_script ()
#13 0x0806c052 in ?? ()
#14 0x00000000 in ?? ()

nginx版本:nginx/1.6.1

php 版本:PHP 5.4.32-2(内置:2014 年 8 月 25 日 11:02:49)

谁能帮助我? 提前致谢

【问题讨论】:

  • 我将 nginx 更新为 1.8.0,将 php 更新为 5.4.40(构建时间:2015 年 5 月 3 日 18:09:02),但问题仍然存在。

标签: nginx php segmentation-fault coredump


【解决方案1】:

您是否有关于该系统的更多信息?输入/输出错误通常不是什么好消息,首先想到的是硬盘出现故障。

【讨论】:

    【解决方案2】:

    我在 nginx 上的 php7.4.1-fpm 版本上遇到了同样的问题,出现 502 bad gateway 错误。
    所以我将 php-fpm 版本更新为 php7.4.3-fpm 并解决了问题。

    请检查您的 php-fpm 版本并更新您的版本。

    【讨论】:

      猜你喜欢
      • 2013-09-27
      • 2015-10-20
      • 1970-01-01
      • 2016-04-22
      • 2020-01-22
      • 2016-03-17
      • 1970-01-01
      • 2020-08-08
      • 2016-07-27
      相关资源
      最近更新 更多