VPS侦探论坛

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

多个PHP-FPM进程占用CPU90%以上,怎么办

[复制链接]
发表于 2015-5-3 02:49:50 | 显示全部楼层 |阅读模式

多个PHP-FPM进程占用CPU90%以上,导致网站太慢了,这个怎么处理啊,麻烦军歌,帮忙解释一下。

通过查看php日志/usr/local/php/var/log/php-fpm.log,有如下警告信息:
PS:不只是category.php文件,并且这个程序早就不在了,目前的程序里面也没有引用过这个文件。

  1. [03-May-2015 01:07:04] WARNING: [pool www] child 887 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
  2. [03-May-2015 01:07:19] WARNING: [pool www] child 894 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
  3. [03-May-2015 01:07:45] WARNING: [pool www] child 893 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
  4. [03-May-2015 01:08:05] WARNING: [pool www] child 880 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
  5. [03-May-2015 01:08:29] WARNING: [pool www] child 1348 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
  6. [03-May-2015 01:08:51] WARNING: [pool www] child 889 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
  7. [03-May-2015 01:09:15] WARNING: [pool www] child 894 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
  8. [03-May-2015 01:09:38] WARNING: [pool www] child 888 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
  9. [03-May-2015 01:10:01] WARNING: [pool www] child 880 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
  10. [03-May-2015 01:10:18] WARNING: [pool www] child 891 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
  11. [03-May-2015 01:10:24] WARNING: [pool www] child 882 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
  12. [03-May-2015 01:10:47] WARNING: [pool www] child 893 said into stderr: "ERROR: Unable to open primary script: /home/wwwroot/www.xxxx.com/category.php (No such file or directory)"
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-5-3 19:47:35 | 显示全部楼层


这个日志里只有提示的文件不存在的信息

你可以按置顶帖开慢日志看看
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-8 09:55 , Processed in 0.025611 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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