Board logo

标题: [求助] 求助啊!!!大神帮帮忙吧!!!nginx 502 Bad Gateway [打印本页]

作者: alwayszmz    时间: 2014-1-23 17:17     标题: 求助啊!!!大神帮帮忙吧!!!nginx 502 Bad Gateway

nginx 502 Bad Gateway 一直用着好好的 突然崩溃了 就一直502 Bad Gateway了下面是 PHP-FPM LOG里面的错误信息 百度 谷歌 都搜过了 办法都使了 还是没修好啊!求大神帮忙啊!!!

an 23 04:26:04.317644 [WARNING] fpm_stdio_child_said(), line 167: child 13744 (pool default) said into stderr: "Jan 23 04:26:03.380153 [ERROR] fpm_unix_init_child(), line 215: setuid(1000) failed: Resource temporarily unavailable (11)"
Jan 23 04:26:04.317660 [WARNING] fpm_stdio_child_said(), line 167: child 13744 (pool default) said into stderr: "Jan 23 04:26:03.380360 [ERROR] fpm_child_init(), line 140: child failed to initialize (pool default)", pipe is closed
Jan 23 04:26:04.318348 [NOTICE] fpm_children_make(), line 352: child 14107 (pool default) started
Jan 23 04:26:04.318492 [WARNING] fpm_children_bury(), line 215: child 13745 (pool default) exited with code 255 after 0.939823 seconds from start
Jan 23 04:26:04.318518 [WARNING] fpm_stdio_child_said(), line 167: child 13745 (pool default) said into stderr: "Jan 23 04:26:03.380097 [ERROR] fpm_unix_init_child(), line 215: setuid(1000) failed: Resource temporarily unavailable (11)"
Jan 23 04:26:04.318532 [WARNING] fpm_stdio_child_said(), line 167: child 13745 (pool default) said into stderr: "Jan 23 04:26:03.380422 [ERROR] fpm_child_init(), line 140: child failed to initialize (pool default)", pipe is closed
Jan 23 04:26:04.319188 [NOTICE] fpm_children_make(), line 352: child 14108 (pool default) started
Jan 23 04:26:04.319354 [WARNING] fpm_children_bury(), line 215: child 13746 (pool default) exited with code 255 after 0.934405 seconds from start
作者: alwayszmz    时间: 2014-1-23 18:09

知道的朋友帮帮忙啊 别光看啊 求大家帮忙啊
作者: 网络飞车    时间: 2014-1-24 00:45

http://dadloveu.blog.51cto.com/715500/766214  自己看
作者: alwayszmz    时间: 2014-1-25 01:21

楼上的帖子之前就试过了 没起作用
作者: ifwangs    时间: 2014-2-7 12:50

在php.ini里,eaccelerator配置项一定要放在Zend Optimizer配置之前,否则也可能引起502 Bad Gateway
作者: baby100    时间: 2014-2-7 21:48

检查下资源是不是被占用了,受到攻击也是这样的
作者: alwayszmz    时间: 2014-2-18 18:06

找到问题了 是XCACHE的事 只要一设置 xcache.size= 任何一个数值 就502 设置成0就没事了 不知道怎么回事。。。
eaccelerator配置项是在Zend Optimizer配置之前。
[xcache]
xcache.shm_scheme = "mmap"
xcache.size = 128M
xcache.count = 4
xcache.slots = 64K
xcache.ttl = 600
xcache.gc_interval = 600
作者: 无忧    时间: 2014-2-19 11:10

我擦  我啥也没动上午好好的  中午出现和你一样的问题
作者: xiaochuan    时间: 2016-11-13 18:26

解决方法文章地址:
http://www.wdlinux.cn/bbs/thread-54858-1-1.html




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2