求助502错误,谢谢
服务器配置是独立服务器,16G内存LNMP是基于最新的1.1版本安装,有升级过PHP
PHP:5.5.15
MYSQL:5.5
系统:debian7 x64
程序用的是帝国CMS,502出现是在批量生成(目前数据量不大,单个生成都可以成功)内容页时,部分表(同时刷新8个表,有3-4个502)会出现502导致刷新不成功。
按置顶网里挨个排查了下,问题没有解决。
我帖上php-fpm日志,麻烦帮忙看下,感谢!!
上面的日志就是出现502时的记录,大概类似于: WARNING: child 39267 exited on signal 7 (SIGBUS) after 4.396186 seconds from start
NOTICE: child 39376 started
WARNING: child 39269 exited on signal 7 (SIGBUS) after 4.416852 seconds from start
NOTICE: child 39377 started
WARNING: child 39270 exited on signal 7 (SIGBUS) after 4.539614 seconds from start
NOTICE: child 39380 started
WARNING: child 39272 exited on signal 7 (SIGBUS) after 4.606072 seconds from start
NOTICE: child 39382 started
WARNING: child 39293 exited on signal 7 (SIGBUS) after 24.054506 seconds from start
NOTICE: child 39407 started
WARNING: child 39296 exited on signal 7 (SIGBUS) after 24.122519 seconds from start
NOTICE: child 39411 started
WARNING: child 39312 exited on signal 7 (SIGBUS) after 35.143935 seconds from start
NOTICE: child 39427 started
WARNING: child 39318 exited on signal 7 (SIGBUS) after 36.655550 seconds from start
NOTICE: child 39432 started
WARNING: child 39323 exited on signal 7 (SIGBUS) after 37.886509 seconds from start
NOTICE: child 39438 started目前8个表的数据还没有2000条,但生成内容页时会有大量的sql查询,现在有些怀疑是mysql的问题,但按军哥的教程重新设置了mysql的参数,问题依旧。
求帮忙看看,谢谢啦!
目前的php-fpm.conf,这个是出502问题后改,目前流量不大,内存剩余好多,所以我设置成static了。
listen = /tmp/php-cgi.sock
listen.backlog = -1
listen.allowed_clients = 127.0.0.1
listen.owner = www
listen.group = www
listen.mode = 0666
user = www
group = www
pm = static
pm.max_children = 100
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 6
#pm.max_requests = 1000
rlimit_files = 30000
request_terminate_timeout = 100
request_slowlog_timeout = 0
slowlog = var/log/slow.log
[ 本帖最后由 uk8u8 于 2014-8-13 14:18 编辑 ] php-fpm日志里只有运行超时的,你把https://bbs.vpser.net/thread-1144-1-1.html 第四条改过了吗
页:
[1]