VPS侦探论坛

 找回密码
 注册
查看: 5665|回复: 1

求救,LNMP几乎每天都会crash

[复制链接]
发表于 2014-6-9 21:48:22 | 显示全部楼层 |阅读模式

从LNMP0.9使用,到几个月前升级到1.0后,就开始crash
前几天升级到1.1,还是没有解决问题

跟机房那边沟通了,排除了硬件问题

现在贴出php-fpm日志,求救


ulimit -n 为65535  相关如nginx php-fpm 的conf都已经改成了65535,故障依旧


Jun 08 05:21:20.982309 [WARNING] fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "7f66e741a000-7f66e7445000 r-xp 00000000 fd:00 791892                     /usr/local/lib/libmhash.so.2.0.1"
Jun 08 05:21:20.982317 [WARNING] fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "7f66e7445000-7f66e7644000 ---p 0002b000 fd:00 791892                     /usr/local/lib/libmhash.so.2.0.1"
Jun 08 05:21:20.982326 [WARNING] fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "7f66e7644000-7f66e7645000 rw-p 0002a000 fd:00 791892                     /usr/local/lib/libmhash.so.2.0.1"
Jun 08 05:21:20.982334 [WARNING] fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "7f66e7645000-7f66e7646000 rw-p 00000000 00:00 0 "
Jun 08 05:21:20.982342 [WARNING] fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "7f66e7648000-7f66e764f000 r--s 00000000 fd:00 792467                     /usr/lib64/gconv/gconv-modules.cache"
Jun 08 05:21:20.982356 [WARNING] fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "7f66e764f000-7f66e7650000 rw-p 00000000 00:00 0 "
Jun 08 05:21:20.982364 [WARNING] fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "7fff900b1000-7fff900c8000 rwxp 00000000 00:00 0                          [stack]"
Jun 08 05:21:20.982373 [WARNING] fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "7fff900c8000-7fff900c9000 rw-p 00000000 00:00 0 "
Jun 08 05:21:20.982381 [WARNING] fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "7fff9014c000-7fff9014d000 r-xp 00000000 00:00 0                          [vdso]"
Jun 08 05:21:20.982389 [WARNING] fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]"
Jun 08 05:21:21.772610 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Jun 08 05:21:21.772722 [WARNING] fpm_children_bury(), line 215: child 3001 (pool default) exited on signal 6 SIGABRT (core dumped) after 2822.525602 seconds from start
Jun 08 05:21:21.773490 [NOTICE] fpm_children_make(), line 352: child 3008 (pool default) started
Jun 08 08:04:01.748220 [WARNING] fpm_stdio_child_said(), line 167: child 3002 (pool default) said into stderr: "[Sun Jun  8 08:04:01 2014"
Jun 08 08:04:01.748259 [WARNING] fpm_stdio_child_said(), line 167: child 3002 (pool default) said into stderr: "] [notice] EACCELERATOR(3002): PHP crashed on opline 182 of increase() at /home/wwwroot/59136/source/class/class_credit.php:276"
Jun 08 08:04:01.748270 [WARNING] fpm_stdio_child_said(), line 167: child 3002 (pool default) said into stderr: ""
Jun 08 08:04:02.212526 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Jun 08 08:04:02.212629 [WARNING] fpm_children_bury(), line 215: child 3002 (pool default) exited on signal 11 SIGSEGV (core dumped) after 12510.909553 seconds from start
Jun 08 08:04:02.213381 [NOTICE] fpm_children_make(), line 352: child 3014 (pool default) started
Jun 08 08:43:03.338243 [WARNING] fpm_stdio_child_said(), line 167: child 3004 (pool default) said into stderr: "[Sun Jun  8 08:43:03 2014"
Jun 08 08:43:03.338283 [WARNING] fpm_stdio_child_said(), line 167: child 3004 (pool default) said into stderr: "] [notice] EACCELERATOR(3004): PHP crashed on opline 94 of query() at /home/wwwroot/59136/source/class/db/db_driver_mysql.php:162"
Jun 08 08:43:03.338296 [WARNING] fpm_stdio_child_said(), line 167: child 3004 (pool default) said into stderr: ""
Jun 08 08:43:03.765886 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Jun 08 08:43:03.765995 [WARNING] fpm_children_bury(), line 215: child 3004 (pool default) exited on signal 11 SIGSEGV (core dumped) after 14770.770786 seconds from start
Jun 08 08:43:03.766758 [NOTICE] fpm_children_make(), line 352: child 3312 (pool default) started
Jun 08 09:46:10.383382 [NOTICE] fpm_got_signal(), line 56: received SIGTERM
Jun 08 09:46:10.397391 [NOTICE] fpm_pctl(), line 256: switching to 'terminating' state
Jun 08 09:46:10.500119 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 3312 (pool default)
Jun 08 09:46:10.500173 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 3014 (pool default)
Jun 08 09:46:10.500189 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 3008 (pool default)
Jun 08 09:46:10.500205 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 3005 (pool default)
Jun 08 09:46:10.500220 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 3003 (pool default)
Jun 08 09:46:10.500230 [NOTICE] fpm_pctl_kill_all(), line 181: 5 children are still alive
Jun 08 09:46:10.505416 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Jun 08 09:46:10.505510 [WARNING] fpm_children_bury(), line 215: child 3003 (pool default) exited on signal 15 SIGTERM after 18620.379872 seconds from start
Jun 08 09:46:10.512801 [WARNING] fpm_children_bury(), line 215: child 3005 (pool default) exited on signal 15 SIGTERM after 18463.936445 seconds from start
Jun 08 09:46:10.512868 [WARNING] fpm_children_bury(), line 215: child 3008 (pool default) exited on signal 15 SIGTERM after 15888.739415 seconds from start
Jun 08 09:46:10.512908 [WARNING] fpm_children_bury(), line 215: child 3014 (pool default) exited on signal 15 SIGTERM after 6128.299565 seconds from start
Jun 08 09:46:10.512935 [WARNING] fpm_children_bury(), line 215: child 3312 (pool default) exited on signal 15 SIGTERM after 3786.746214 seconds from start
Jun 08 09:46:10.512945 [NOTICE] fpm_pctl_exit(), line 81: exiting, bye-bye!
Jun 08 09:46:12.911481 [NOTICE] fpm_unix_init_main(), line 284: getrlimit(nofile): max:65535, cur:65535
Jun 08 09:46:12.911921 [NOTICE] fpm_event_init_main(), line 88: libevent: using epoll
Jun 08 09:46:12.912032 [NOTICE] fpm_init(), line 52: fpm is running, pid 3715
Jun 08 09:46:12.913001 [NOTICE] fpm_children_make(), line 352: child 3716 (pool default) started
Jun 08 09:46:12.914062 [NOTICE] fpm_children_make(), line 352: child 3717 (pool default) started
Jun 08 09:46:12.915112 [NOTICE] fpm_children_make(), line 352: child 3718 (pool default) started
Jun 08 09:46:12.916149 [NOTICE] fpm_children_make(), line 352: child 3719 (pool default) started
Jun 08 09:46:12.917273 [NOTICE] fpm_children_make(), line 352: child 3720 (pool default) started
Jun 08 09:46:12.917391 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop
Jun 08 11:04:33.413683 [NOTICE] fpm_got_signal(), line 56: received SIGTERM
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-6-10 08:32:26 | 显示全部楼层


看日志你好像装了eAccelerator可能与你的程序不大兼容

再就是有程序执行时间很长,建议开慢日志看看具体哪个文件
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-15 11:33 , Processed in 0.025143 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表