dlnmp123 发表于 2016-12-20 13:41:41

执行php脚本,再访问lnmp报错502

请大神帮忙解答
比如:
1.在linux执行    php index.php   
2. 再访问网站报错:


502 Bad Gateway

licess 发表于 2016-12-20 19:40:22

按置顶帖502排查方法,开慢日志和错误日志看看

llj465705075 发表于 2017-3-17 14:02:03

php test.php网站就立即502 试了几次都这样

WARNING: child 23006 exited on signal 7 (SIGBUS) after 13.388031 seconds from start
NOTICE: child 23039 started
WARNING: child 23007 exited on signal 11 (SIGSEGV) after 12.411125 seconds from start
NOTICE: child 23040 started
WARNING: child 23008 exited on signal 7 (SIGBUS) after 16.041723 seconds from start
NOTICE: child 23043 started
WARNING: child 23009 exited on signal 7 (SIGBUS) after 16.703436 seconds from start
NOTICE: child 23044 started
WARNING: child 23010 exited on signal 11 (SIGSEGV) after 16.782784 seconds from start
NOTICE: child 23045 started
WARNING: child 23011 exited on signal 7 (SIGBUS) after 16.780110 seconds from start
NOTICE: child 23046 started
WARNING: child 23012 exited on signal 7 (SIGBUS) after 16.713849 seconds from start
NOTICE: child 23047 started
WARNING: child 23013 exited on signal 7 (SIGBUS) after 17.602713 seconds from start
NOTICE: child 23050 started
WARNING: child 23014 exited on signal 7 (SIGBUS) after 17.381455 seconds from start
NOTICE: child 23051 started
WARNING: child 23015 exited on signal 7 (SIGBUS) after 16.673308 seconds from start
NOTICE: child 23052 started
WARNING: child 23016 exited on signal 7 (SIGBUS) after 18.593331 seconds from start
NOTICE: child 23055 started
WARNING: child 23017 exited on signal 7 (SIGBUS) after 21.395324 seconds from start
NOTICE: child 23056 started
WARNING: child 23018 exited on signal 7 (SIGBUS) after 25.006174 seconds from start
NOTICE: child 23057 started
WARNING: child 23019 exited on signal 7 (SIGBUS) after 26.506213 seconds from start
NOTICE: child 23058 started
WARNING: child 23020 exited on signal 7 (SIGBUS) after 26.337223 seconds from start
NOTICE: child 23059 started
WARNING: child 23021 exited on signal 11 (SIGSEGV) after 26.541843 seconds from start
NOTICE: child 23060 started
WARNING: child 23022 exited on signal 7 (SIGBUS) after 26.737471 seconds from start
NOTICE: child 23061 started
WARNING: child 23023 exited on signal 7 (SIGBUS) after 27.644385 seconds from start
NOTICE: child 23062 started
WARNING: child 23024 exited on signal 7 (SIGBUS) after 31.490254 seconds from start
NOTICE: child 23063 started

licess 发表于 2017-3-17 19:42:09

回复 3# 的帖子

有些php版本上直接运行php test.php 是会造成502的

按上面的日志是执行超时
页: [1]
查看完整版本: 执行php脚本,再访问lnmp报错502