- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2013-4-9
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
从国庆放假,突然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 编辑 ] |
|