网站访问后台不间断出现502问题,大佬帮忙看下日志 New
网站访问后台不间断出现502问题,重启php74后恢复正常,大佬帮忙看下日志WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 27 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 32 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 3 idle, and 37 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 3 idle, and 37 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 27 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 32 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 37 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 42 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 47 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 52 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 57 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 62 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 67 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 72 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 77 total children WARNING: server reached pm.max_children setting (80), consider raising it WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 75 total children WARNING: server reached pm.max_children setting (80), consider raising it WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 30 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 35 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 40 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 45 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 50 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 55 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 60 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 65 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 70 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 75 total children WARNING: server reached pm.max_children setting (80), consider raising it WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 27 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 32 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 37 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 42 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 47 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 52 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 57 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 62 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 67 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 72 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 77 total children WARNING: server reached pm.max_children setting (80), consider raising it WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 27 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 32 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 37 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 42 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 47 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 52 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 57 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 62 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 67 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 72 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 77 total children WARNING: server reached pm.max_children setting (80), consider raising it WARNING: server reached pm.max_children setting (80), consider raising it WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 30 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 35 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 40 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 45 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 50 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 55 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 60 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 65 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 27 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 32 total children WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 3 idle, and 37 total children WARNING: child 3764064 exited on signal 11 (SIGSEGV) after 954.507343 seconds from start NOTICE: child 3764412 started WARNING: child 3764020 exited on signal 11 (SIGSEGV) after 1008.774520 seconds from start NOTICE: child 3764424 started WARNING: child 3763225 exited on signal 11 (SIGSEGV) after 2624.374160 seconds from start NOTICE: child 3764427 started WARNING: child 3764076 exited on signal 11 (SIGSEGV) after 927.384978 seconds from start NOTICE: child 3764430 started WARNING: child 3761513 exited on signal 11 (SIGSEGV) after 6174.779224 seconds from start NOTICE: child 3764524 started WARNING: child 3764077 exited on signal 11 (SIGSEGV) after 977.578533 seconds from start NOTICE: child 3764527 started NOTICE: Finishing ... NOTICE: exiting, bye-bye! NOTICE: fpm is running, pid 3764553 NOTICE: ready to handle connections NOTICE: Reloading in progress ... NOTICE: reloading: execvp("/www/server/php/74/sbin/php-fpm", {"/www/server/php/74/sbin/php-fpm", "--daemonize", "--fpm-config", "/www/server/php/74/etc/php-fpm.conf", "--pid", "/www/server/php/74/var/run/php-fpm.pid"}) NOTICE: using inherited socket fd=8, "/tmp/php-cgi-74.sock" NOTICE: using inherited socket fd=8, "/tmp/php-cgi-74.sock" NOTICE: fpm is running, pid 3764588 NOTICE: ready to handle connections NOTICE: Reloading in progress ... NOTICE: reloading: execvp("/www/server/php/74/sbin/php-fpm", {"/www/server/php/74/sbin/php-fpm", "--daemonize", "--fpm-config", "/www/server/php/74/etc/php-fpm.conf", "--pid", "/www/server/php/74/var/run/php-fpm.pid"}) NOTICE: using inherited socket fd=8, "/tmp/php-cgi-74.sock" NOTICE: using inherited socket fd=8, "/tmp/php-cgi-74.sock" NOTICE: fpm is running, pid 3764596 NOTICE: ready to handle connections WARNING: child 3764598 exited on signal 11 (SIGSEGV) after 1454.012217 seconds from start NOTICE: child 3765252 started WARNING: child 3765477, script '/www/wwwroot/xxx.com/forum.php' (request: "GET /forum.php?mod=image&aid=2840&size=550x350&key=f8007866512fbb") executing too slow (35.576953 sec), logging NOTICE: child 3765477 stopped for tracing NOTICE: about to trace 3765477 NOTICE: finished trace of 3765477 WARNING: child 3765477, script '/www/wwwroot/xxx.com/forum.php' (request: "GET /forum.php?mod=image&aid=2840&size=550x350&key=f8007866512fbb") execution timed out (105.583134 sec), terminating WARNING: child 3765477 exited on signal 15 (SIGTERM) after 167.221063 seconds from start NOTICE: child 3765556 started WARNING: child 3766891 exited on signal 11 (SIGSEGV) after 1760.750210 seconds from start NOTICE: child 3767518 started WARNING: child 3767695 exited on signal 11 (SIGSEGV) after 197.450933 seconds from start NOTICE: child 3767783 started WARNING: child 3769885 exited on signal 11 (SIGSEGV) after 3732.035417 seconds from start NOTICE: child 3771972 started WARNING: child 3771848 exited on signal 11 (SIGSEGV) after 1843.314304 seconds from start NOTICE: child 3772483 started WARNING: child 3773459 exited on signal 11 (SIGSEGV) after 85.321597 seconds from start NOTICE: child 3773489 started WARNING: child 3773505 exited on signal 11 (SIGSEGV) after 416.645542 seconds from start NOTICE: child 3773666 started NOTICE: Finishing ... NOTICE: exiting, bye-bye! NOTICE: fpm is running, pid 3773786 NOTICE: ready to handle connections pid 3727058script_filename = /www/wwwroot/xxx.com/forum.php curl_multi_select() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php:161 tick() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php:184 execute() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:248 invokeWaitFn() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:224 waitIfPending() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:269 invokeWaitList() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:226 waitIfPending() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:269 invokeWaitList() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:226 waitIfPending() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:62 wait() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/aws/aws-sdk-php/src/AwsClientTrait.php:58 execute() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/aws/aws-sdk-php/src/S3/S3ClientTrait.php:363 checkExistenceWithCommand() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/aws/aws-sdk-php/src/S3/S3ClientTrait.php:310 doesObjectExist() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws_s3.php:99 isObject() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/discuz/forum_image.php:22 () /www/wwwroot/xxx.com/source/plugin/boan_h5upload/mh5upload.class.php:204 image_boanoss() /www/wwwroot/xxx.com/source/function/function_core.php:1319 hookscript() /www/wwwroot/xxx.com/source/function/function_core.php:1269 runhooks() /www/wwwroot/xxx.com/forum.php:63 pid 3726971script_filename = /www/wwwroot/xxx.com/forum.php curl_multi_select() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php:161 tick() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php:184 execute() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:248 invokeWaitFn() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:224 waitIfPending() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:269 invokeWaitList() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:226 waitIfPending() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:269 invokeWaitList() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:226 waitIfPending() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:62 wait() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/aws/aws-sdk-php/src/AwsClientTrait.php:58 execute() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/aws/aws-sdk-php/src/AwsClientTrait.php:86 __call() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws_s3.php:284 downFile() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/discuz/forum_image.php:63 () /www/wwwroot/xxx.com/source/plugin/boan_h5upload/mh5upload.class.php:204 image_boanoss() /www/wwwroot/xxx.com/source/function/function_core.php:1319 hookscript() /www/wwwroot/xxx.com/source/function/function_core.php:1269 runhooks() /www/wwwroot/xxx.com/forum.php:63 pid 3765477script_filename = /www/wwwroot/xxx.com/forum.php curl_multi_select() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php:161 tick() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php:184 execute() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:248 invokeWaitFn() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:224 waitIfPending() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:269 invokeWaitList() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:226 waitIfPending() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:269 invokeWaitList() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:226 waitIfPending() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/guzzlehttp/promises/src/Promise.php:62 wait() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/aws/aws-sdk-php/src/AwsClientTrait.php:58 execute() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/aws/aws-sdk-php/src/S3/S3ClientTrait.php:363 checkExistenceWithCommand() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws/aws/aws-sdk-php/src/S3/S3ClientTrait.php:310 doesObjectExist() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/class/aws_s3.php:99 isObject() /www/wwwroot/xxx.com/source/plugin/boan_oss/source/discuz/forum_image.php:22 () /www/wwwroot/xxx.com/source/plugin/boan_h5upload/mh5upload.class.php:204 image_boanoss() /www/wwwroot/xxx.com/source/function/function_core.php:1319 hookscript() /www/wwwroot/xxx.com/source/function/function_core.php:1269 runhooks() /www/wwwroot/xxx.com/forum.php:63
我知道答案 回答被采纳将会获得1 贡献 已有3人回答 配置和性能如图
WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 72 total children
这表明您的PHP-FPM池(www池)当前非常繁忙,没有空闲的子进程来处理新的请求。这可能会导致502错误,因为Nginx或其他Web服务器无法将请求传递给PHP-FPM进行处理。
如果内存够用的话 可以 调大 子进程 数量看看;
另外:
可以 优化应用程序:
比如 看看有没 mysql慢查询了, 针对性优化,最好是启用 redis boan_oss 这个插件检查下,优化下运行效率哦
页:
[1]