VPS侦探论坛

 找回密码
 注册
查看: 6822|回复: 3

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

[复制链接]
发表于 2016-5-3 23:40:08 | 显示全部楼层 |阅读模式

服务器配置:



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

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

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

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

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-5-3 23:41:26 | 显示全部楼层

php-fpm 配置如下



[global]
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

[www]
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
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-5-4 09:34:29 | 显示全部楼层

这个一般是某些文件执行超时造成的,开慢日志后就会有具体哪个问题执行超时,置顶帖里有开启方法
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-5-4 11:39:30 | 显示全部楼层

回复 3# 的帖子




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

php 经常自己抽风。

头疼中。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 11:49 , Processed in 0.027624 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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