VPS侦探论坛

 找回密码
 注册
查看: 7813|回复: 2

[Apache] php-cgi处理大的php动态页面时经常返回502

[复制链接]
发表于 2012-9-1 14:03:56 | 显示全部楼层 |阅读模式

军好,好,帮我分析一下,php-cgi吧。处理大的php页面时经常超时。。。502 bad gateway!!!!!!!!!!!!!!
这是php-cgi的LOG
[WARNING] fpm_request_check_timed_out(), line 158: child 13809, script '/home/wwwroot/xxxxx/index.php' (pool default) execution timed out (15.009033 sec), terminating
Sep 01 13:51:10.144076 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Sep 01 13:51:10.144119 [WARNING] fpm_children_bury(), line 215: child 13809 (pool default) exited on signal 15 SIGTERM after 1906.703865 seconds from start
这个问题折磨好很多天,希望给指点一下,非常感谢!!!!!!
PS: 上面的xxxxx代表我的vhost
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-9-1 16:33:43 | 显示全部楼层
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-9-3 11:29:25 | 显示全部楼层

回复 1# 的帖子


这个值我修改过。还是会有像下面这样的报错呢.  PS:  我php-fpm.conf里面request_terminate_timeout这个值我已经加到15秒了!!
Sep 03 11:24:01.961056 [NOTICE] fpm_children_make(), line 352: child 19550 (pool default) started
Sep 03 11:24:30.496094 [WARNING] fpm_request_check_timed_out(), line 158: child 19385, script '/home/wwwroot/xxxxxx/index.php' (pool default) execution timed out (15.007659 sec), terminating
Sep 03 11:24:30.496733 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Sep 03 11:24:30.496774 [WARNING] fpm_children_bury(), line 215: child 19385 (pool default) exited on signal 15 SIGTERM after 157.211859 seconds from start
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-23 13:11 , Processed in 0.025487 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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