求军哥救命:负载突然很高
从国庆放假,突然lnmp服务器负载突然很高,服务器上的mysql服务是停止的,就是几个web站,每天所有站点IP加起来不超过300。请大家看看什么原因啊,运行6个月都没问题,突然这样的 ,重启php服务就好了,但是过2个小时左右负载又达到50左右,
求军哥帮忙啊.
php配置
max_children:1024
nginx配置
worker_processes 8;
error_log/home/wwwlogs/nginx_error.logcrit;
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 编辑 ] Intel(R) Xeon(R) CPU E5440@ 2.83GHz
内存16G 8核 phpfpm 开启slow日志看看
页:
[1]