chinahotels 发表于 2016-5-3 23:40:08

军哥,总是出现这种问题exited with code 0 after

服务器配置:

image.shuaigay.xyz/bangui/20160503233320.png

相关的配置也都改过了,现在系统+nginx+php-fpm 都是改成了 51200

但是还是频繁的报错,能运行一段时间,然后php挂掉,然后重新启动。

一直不停的在出现这个问题,求指教。

NOTICE: child 26891 exited with code 0 after 104.372432 seconds from start
NOTICE: child 27087 started
NOTICE: child 26939 exited with code 0 after 103.373110 seconds from start
NOTICE: child 27088 started
NOTICE: child 26890 exited with code 0 after 105.486945 seconds from start
NOTICE: child 27089 started
NOTICE: child 26911 exited with code 0 after 105.572401 seconds from start
NOTICE: child 27090 started
NOTICE: child 26906 exited with code 0 after 106.237005 seconds from start
NOTICE: child 27091 started
NOTICE: child 26918 exited with code 0 after 106.315815 seconds from start
NOTICE: child 27092 started
NOTICE: child 26913 exited with code 0 after 107.958453 seconds from start
NOTICE: child 27093 started
NOTICE: child 26877 exited with code 0 after 110.052882 seconds from start
NOTICE: child 27094 started
NOTICE: child 26917 exited with code 0 after 108.408292 seconds from start
NOTICE: child 27095 started
NOTICE: child 26908 exited with code 0 after 108.430412 seconds from start
NOTICE: child 27096 started
NOTICE: child 26950 exited with code 0 after 107.842136 seconds from start
NOTICE: child 27097 started
NOTICE: child 26947 exited with code 0 after 107.884818 seconds from start
NOTICE: child 27098 started
NOTICE: child 26887 exited with code 0 after 110.010332 seconds from start
NOTICE: child 27099 started
NOTICE: child 26904 exited with code 0 after 109.179404 seconds from start
NOTICE: child 27100 started
NOTICE: child 26945 exited with code 0 after 108.434857 seconds from start
NOTICE: child 27101 started
NOTICE: child 26942 exited with code 0 after 108.475758 seconds from start
NOTICE: child 27102 started
NOTICE: child 26915 exited with code 0 after 109.656040 seconds from start
NOTICE: child 27103 started
NOTICE: child 26946 exited with code 0 after 108.683538 seconds from start
NOTICE: child 27104 started
NOTICE: child 26909 exited with code 0 after 109.703830 seconds from start
NOTICE: child 27105 started
NOTICE: child 26943 exited with code 0 after 108.743428 seconds from start
NOTICE: child 27106 started
NOTICE: child 26889 exited with code 0 after 110.753167 seconds from start
NOTICE: child 27107 started
NOTICE: child 26919 exited with code 0 after 109.848147 seconds from start
NOTICE: child 27108 started
NOTICE: child 26884 exited with code 0 after 110.904050 seconds from start
NOTICE: child 27109 started
NOTICE: child 26914 exited with code 0 after 109.962579 seconds from start
NOTICE: child 27110 started
NOTICE: child 26952 exited with code 0 after 109.006012 seconds from start
NOTICE: child 27111 started
NOTICE: child 26905 exited with code 0 after 110.065334 seconds from start
NOTICE: child 27112 started
NOTICE: child 26888 exited with code 0 after 111.413414 seconds from start
NOTICE: child 27113 started
NOTICE: child 26951 exited with code 0 after 109.932046 seconds from start
NOTICE: child 27114 started
NOTICE: child 26912 exited with code 0 after 111.349888 seconds from start
NOTICE: child 27115 started
NOTICE: child 26948 exited with code 0 after 110.923928 seconds from start
NOTICE: child 27116 started
NOTICE: child 26955 exited with code 0 after 109.951676 seconds from start
NOTICE: child 27117 started
NOTICE: child 26949 exited with code 0 after 111.296541 seconds from start
NOTICE: child 27118 started
NOTICE: child 26944 exited with code 0 after 111.425550 seconds from start
NOTICE: child 27119 started
NOTICE: child 26954 exited with code 0 after 111.527928 seconds from start
NOTICE: child 27120 started
NOTICE: child 26907 exited with code 0 after 113.584904 seconds from start
NOTICE: child 27121 started
NOTICE: child 26940 exited with code 0 after 113.403712 seconds from start
NOTICE: child 27122 started
NOTICE: child 26886 exited with code 0 after 115.803479 seconds from start
NOTICE: child 27123 started

chinahotels 发表于 2016-5-3 23:41:26

php-fpm 配置如下


pid = /usr/local/php/var/run/php-fpm.pid
error_log = /usr/local/php/var/log/php-fpm.log
log_level = notice
rlimit_files = 51200


listen = /tmp/php-cgi.sock
listen.owner = www
listen.group = www
listen.mode = 0666
user = www
group = www
pm = dynamic
pm.max_children = 384
pm.start_servers = 32
pm.min_spare_servers = 24
pm.max_spare_servers = 48
pm.max_requests = 256
pm.process_idle_timeout = 300
request_terminate_timeout = 300
;request_slowlog_timeout = 0
slowlog = var/log/slow.log

licess 发表于 2016-5-4 09:34:29

这个一般是某些文件执行超时造成的,开慢日志后就会有具体哪个问题执行超时,置顶帖里有开启方法

chinahotels 发表于 2016-5-4 11:39:30

回复 3# 的帖子

已经开启了慢日志,30秒之后就会记录,但是呢,一直没有慢日志文件,倒是上面的代码还是在不断的弧线。

php 经常自己抽风。

头疼中。
页: [1]
查看完整版本: 军哥,总是出现这种问题exited with code 0 after