使用FPM的php7.0在大量请求下会出现CoreDump的问题

在近3个月的使用和测试中,发现php7.0在使用中会出现CoreDump的问题,于是停用Opcache扩展,无明显好转。日志记录如下

本文已与2016年4月11日更新。目前已经没有发现CoreDump问题,当前版本7.0.5


[25-Feb-2016 01:44:48] WARNING: [pool www] child 24770 exited on signal 11 (SIGSEGV – core dumped) after 513.341888 seconds from start
[25-Feb-2016 01:44:48] NOTICE: [pool www] child 24832 started
[25-Feb-2016 01:46:18] WARNING: [pool www] child 29595 exited on signal 11 (SIGSEGV – core dumped) after 541388.776937 seconds from start
[18-Feb-2016 01:07:40] NOTICE: [pool www] child 21006 started
[18-Feb-2016 01:15:17] WARNING: [pool www] child 22880 exited with code 1 after 1072334.447842 seconds from start
[18-Feb-2016 01:15:17] NOTICE: [pool www] child 21058 started
[18-Feb-2016 01:23:39] WARNING: [pool www] child 19656 exited with code 1 after 29086.047950 seconds from start
[18-Feb-2016 01:23:39] NOTICE: [pool www] child 21077 started
[18-Feb-2016 01:53:09] WARNING: [pool www] child 7034 exited with code 1 after 110775.396469 seconds from start
[18-Feb-2016 01:53:09] NOTICE: [pool www] child 21255 started
[18-Feb-2016 01:57:59] WARNING: [pool www] child 26227 exited with code 1 after 647995.186862 seconds from start
[18-Feb-2016 01:57:59] NOTICE: [pool www] child 21261 started
[18-Feb-2016 02:16:55] WARNING: [pool www] child 19584 exited on signal 11 (SIGSEGV – core dumped) after 32955.932181 seconds from start
[18-Feb-2016 02:16:55] NOTICE: [pool www] child 21320 started
[18-Feb-2016 02:46:08] WARNING: [pool www] child 20357 exited on signal 11 (SIGSEGV – core dumped) after 19783.080258 seconds from start
[18-Feb-2016 02:46:08] NOTICE: [pool www] child 21402 started
[18-Feb-2016 03:05:08] WARNING: [pool www] child 21006 exited with code 1 after 7047.656039 seconds from start
[18-Feb-2016 03:05:08] NOTICE: [pool www] child 21428 started
[18-Feb-2016 03:49:05] WARNING: [pool www] child 6738 exited with code 1 after 121765.152552 seconds from start
[18-Feb-2016 03:49:05] NOTICE: [pool www] child 21548 started
[18-Feb-2016 06:26:09] WARNING: [pool www] child 19769 exited on signal 11 (SIGSEGV – core dumped) after 44266.759955 seconds from start
[18-Feb-2016 06:26:09] NOTICE: [pool www] child 22139 started
[18-Feb-2016 07:47:12] WARNING: [pool www] child 18485 exited on signal 11 (SIGSEGV – core dumped) after 56620.621950 seconds from start
[18-Feb-2016 07:47:12] NOTICE: [pool www] child 22934 started
[18-Feb-2016 08:52:54] WARNING: [pool www] child 20980 exited with code 1 after 29510.198951 seconds from start
[18-Feb-2016 08:52:54] NOTICE: [pool www] child 23545 started
[18-Feb-2016 09:05:37] WARNING: [pool www] child 20929 exited with code 1 after 30579.438331 seconds from start
[18-Feb-2016 09:05:37] NOTICE: [pool www] child 23589 started

据说已经查明原因,并且在最新的3月3号发布的7.0.4版本中已经修复该问题。由于ppa:ondrej/php-7.0的源已经无法正常使用,所以还有待近一步测试。

 

ps:本文已更新,新的ppa源位于ppa:ondrej/php,具体信息请看我的另一篇博客安装php7.0与性能分析。

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注