VPS侦探论坛

 找回密码
 注册
查看: 4914|回复: 2

求军哥救命:负载突然很高

[复制链接]
发表于 2013-10-8 19:02:59 | 显示全部楼层 |阅读模式

从国庆放假,突然lnmp服务器负载突然很高,服务器上的mysql服务是停止的,就是几个web站,每天所有站点IP加起来不超过300。
请大家看看什么原因啊,运行6个月都没问题,突然这样的 ,重启php服务就好了,但是过2个小时左右负载又达到50左右,
求军哥帮忙啊.
php配置
max_children:1024


nginx配置
worker_processes 8;

error_log  /home/wwwlogs/nginx_error.log  crit;

pid        /usr/local/nginx/logs/nginx.pid;

#Specifies the value for maximum file descriptors that can be opened by this process.
worker_rlimit_nofile 51200;

events
        {
                use epoll;
                worker_connections 51200;
        }

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


Intel(R) Xeon(R) CPU           E5440  @ 2.83GHz  
内存16G 8核
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-10-9 15:59:18 | 显示全部楼层

phpfpm 开启slow日志看看
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-25 03:17 , Processed in 0.025708 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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