求救,LNMP几乎每天都会crash
从LNMP0.9使用,到几个月前升级到1.0后,就开始crash前几天升级到1.1,还是没有解决问题
跟机房那边沟通了,排除了硬件问题
现在贴出php-fpm日志,求救
ulimit -n 为65535相关如nginx php-fpm 的conf都已经改成了65535,故障依旧
Jun 08 05:21:20.982309 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 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 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 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 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 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 fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "7fff900b1000-7fff900c8000 rwxp 00000000 00:00 0 "
Jun 08 05:21:20.982373 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 fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "7fff9014c000-7fff9014d000 r-xp 00000000 00:00 0 "
Jun 08 05:21:20.982389 fpm_stdio_child_said(), line 167: child 3001 (pool default) said into stderr: "ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 "
Jun 08 05:21:21.772610 fpm_got_signal(), line 48: received SIGCHLD
Jun 08 05:21:21.772722 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 fpm_children_make(), line 352: child 3008 (pool default) started
Jun 08 08:04:01.748220 fpm_stdio_child_said(), line 167: child 3002 (pool default) said into stderr: "[Sun Jun8 08:04:01 2014"
Jun 08 08:04:01.748259 fpm_stdio_child_said(), line 167: child 3002 (pool default) said into stderr: "] 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 fpm_stdio_child_said(), line 167: child 3002 (pool default) said into stderr: ""
Jun 08 08:04:02.212526 fpm_got_signal(), line 48: received SIGCHLD
Jun 08 08:04:02.212629 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 fpm_children_make(), line 352: child 3014 (pool default) started
Jun 08 08:43:03.338243 fpm_stdio_child_said(), line 167: child 3004 (pool default) said into stderr: "[Sun Jun8 08:43:03 2014"
Jun 08 08:43:03.338283 fpm_stdio_child_said(), line 167: child 3004 (pool default) said into stderr: "] 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 fpm_stdio_child_said(), line 167: child 3004 (pool default) said into stderr: ""
Jun 08 08:43:03.765886 fpm_got_signal(), line 48: received SIGCHLD
Jun 08 08:43:03.765995 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 fpm_children_make(), line 352: child 3312 (pool default) started
Jun 08 09:46:10.383382 fpm_got_signal(), line 56: received SIGTERM
Jun 08 09:46:10.397391 fpm_pctl(), line 256: switching to 'terminating' state
Jun 08 09:46:10.500119 fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 3312 (pool default)
Jun 08 09:46:10.500173 fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 3014 (pool default)
Jun 08 09:46:10.500189 fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 3008 (pool default)
Jun 08 09:46:10.500205 fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 3005 (pool default)
Jun 08 09:46:10.500220 fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 3003 (pool default)
Jun 08 09:46:10.500230 fpm_pctl_kill_all(), line 181: 5 children are still alive
Jun 08 09:46:10.505416 fpm_got_signal(), line 48: received SIGCHLD
Jun 08 09:46:10.505510 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 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 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 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 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 fpm_pctl_exit(), line 81: exiting, bye-bye!
Jun 08 09:46:12.911481 fpm_unix_init_main(), line 284: getrlimit(nofile): max:65535, cur:65535
Jun 08 09:46:12.911921 fpm_event_init_main(), line 88: libevent: using epoll
Jun 08 09:46:12.912032 fpm_init(), line 52: fpm is running, pid 3715
Jun 08 09:46:12.913001 fpm_children_make(), line 352: child 3716 (pool default) started
Jun 08 09:46:12.914062 fpm_children_make(), line 352: child 3717 (pool default) started
Jun 08 09:46:12.915112 fpm_children_make(), line 352: child 3718 (pool default) started
Jun 08 09:46:12.916149 fpm_children_make(), line 352: child 3719 (pool default) started
Jun 08 09:46:12.917273 fpm_children_make(), line 352: child 3720 (pool default) started
Jun 08 09:46:12.917391 fpm_event_loop(), line 107: libevent: entering main loop
Jun 08 11:04:33.413683 fpm_got_signal(), line 56: received SIGTERM 看日志你好像装了eAccelerator可能与你的程序不大兼容
再就是有程序执行时间很长,建议开慢日志看看具体哪个文件
页:
[1]