wordpress的PHP-fpm进程的cpu占用过高
新装的lnmp,机器配置,单核处理器,1G内存,40G硬盘,新装的最新版wordpress,刷新网页时候或者后台某项设置更新时候,PHP-fpm进程的CPU占用就会飙至90%+,怎么解决呢?开启网站的日志,发现很多IP访问,但是统计代码里面却没IP。下面是10点整,这一分钟的访问记录
123.151.155.144 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
123.151.155.144 - - "\x00" 400 166 "-" "-" -
183.232.83.65 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
183.232.83.65 - - "\x00" 400 166 "-" "-" -
27.221.23.210 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
27.221.23.210 - - "\x00" 400 166 "-" "-" -
111.4.118.192 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
111.4.118.192 - - "\x00" 400 166 "-" "-" -
119.147.6.32 - - "GET / HTTP/1.1" 403 162 "-" "-" -
171.111.157.33 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
111.8.6.198 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
171.111.157.33 - - "\x00" 400 166 "-" "-" -
111.8.6.198 - - "\x00" 400 166 "-" "-" -
113.17.172.24 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
221.236.21.153 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
113.17.172.24 - - "\x00" 400 166 "-" "-" -
221.236.21.153 - - "\x00" 400 166 "-" "-" -
171.111.157.36 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
171.111.157.36 - - "\x00" 400 166 "-" "-" -
112.90.51.166 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
112.90.51.166 - - "\x00" 400 166 "-" "-" -
111.1.57.64 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
111.1.57.64 - - "\x00" 400 166 "-" "-" -
219.146.241.21 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
219.146.241.21 - - "\x00" 400 166 "-" "-" -
58.216.25.24 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
58.216.25.24 - - "\x00" 400 166 "-" "-" -
58.216.25.26 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
58.216.25.26 - - "\x00" 400 166 "-" "-" -
27.221.23.215 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
27.221.23.215 - - "\x00" 400 166 "-" "-" -
58.216.25.23 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
58.216.25.23 - - "\x00" 400 166 "-" "-" -
27.221.23.214 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
27.221.23.214 - - "\x00" 400 166 "-" "-" -
221.236.21.146 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
221.236.21.146 - - "\x00" 400 166 "-" "-" -
113.17.172.26 - - "GET / HTTP/1.1" 403 162 "-" "nws" -
113.17.172.26 - - "\x00" 400 166 "-" "-" -
27.221.23.210 - - "GET / HTTP/1.1" 403 162 "-" "curl/7.15.1 (x86_64-suse-linux) libcurl/7.15.1 OpenSSL/0.9.8a zlib/1.2.3 libidn/0.6.0" 120.204.205.146
119.147.6.32 - - "GET / HTTP/1.1" 403 162 "-" "-" -
119.147.227.161 - - "GET / HTTP/1.1" 403 162 "-" "" 111.161.51.142
119.147.227.161 - - "GET / HTTP/1.1" 403 162 "-" "" 111.161.51.142 我的是访问vnstat无响应,php-fpm占用100%,关闭浏览器恢复正常 日志里那是写网上专门来扫描的日志
wordpress本身就是比较耗资源
回复 2# 的帖子
我的是关闭浏览器依然100%,需要等一会 负载降下去 你可以自己去了解一下linux负载的具体说明,负载不是实时的分别是1分钟、5分钟、15分钟内系统的平均负荷
回复 5# 的帖子
嗯,一直有看的,当页面连续刷新时候, 用top命令查看,会发现CPU90%+请教下军哥,LNMPA已经停止下载了么?
回复 6# 的帖子
都是用一个脚本安装,注意安装参数改成lnmpa就行了
页:
[1]