VPS侦探论坛

 找回密码
 注册
查看: 3930|回复: 1

军哥:麻烦看看slow.log 是什么原因?间断性502 Bad Gateway怎么解决?

[复制链接]
发表于 2015-6-23 17:12:06 | 显示全部楼层 |阅读模式

php-fpm.log中  
网站是wordpress程序


WARNING: [pool www] child 4105, script '/home/wwwroot/website.com/xmlrpc.php' (request: "POST /xmlrpc.php") executing too slow (10.564271 sec), logging


slow.log 如下

[23-Jun-2015 08:37:57]  [pool www] pid 2101
script_filename = /home/wwwroot/website.com/xmlrpc.php

[0x0000000001dca798] curl_exec() /home/wwwroot/website.com/wp-includes/class-http.php:1165

[0x0000000001dca328] request() /home/wwwroot/website.com/wp-includes/class-http.php:257

[0x0000000001dc86b8] _dispatch_request() /home/wwwroot/website.com/wp-includes/class-http.php:194

[0x0000000001dc84d8] request() /home/wwwroot/website.com/wp-includes/class-http.php:300

[0x0000000001dc8358] get() /home/wwwroot/website.com/wp-includes/http.php:76

[0x0000000001dc5f80] wp_remote_get() /home/wwwroot/website.com/wp-includes/class-wp-xmlrpc-server.php:5383

[0x0000000001dc5640] pingback_ping() /home/wwwroot/website.com/wp-includes/class-IXR.php:441

[0x0000000001dc4db0] call() /home/wwwroot/website.com/wp-includes/class-IXR.php:391

[0x0000000001dc4b98] serve() /home/wwwroot/website.com/wp-includes/class-IXR.php:364

[0x0000000001dc4a78] IXR_Server() /home/wwwroot/website.com/wp-includes/class-wp-xmlrpc-server.php:133

[0x0000000001dc4210] serve_request() /home/wwwroot/website.com/xmlrpc.php:69

[ 本帖最后由 tnywzq2012 于 2015-6-23 19:54 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-6-23 21:17:32 | 显示全部楼层


看日志是执行慢

xmlrpc.php这个文件一般情况下也没大用处
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 18:41 , Processed in 0.025346 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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