nginx错误日志

回复 收藏
PROFILE: interrupts/evictions/bytes = 162/0/3068
2016/07/15 11:07:49 [notice] 4023#0: signal process started
PROFILE: interrupts/evictions/bytes = 82/0/2320
PROFILE: interrupts/evictions/bytes = 37/0/1168
PROFILE: interrupts/evictions/bytes = 61/0/1740
PROFILE: interrupts/evictions/bytes = 50/0/1296
PROFILE: interrupts/evictions/bytes = 90/0/1740
PROFILE: interrupts/evictions/bytes = 34/0/1508
PROFILE: interrupts/evictions/bytes = 63/0/1624
PROFILE: interrupts/evictions/bytes = 149/0/2836
------------------------------------------------------------------
[root@wx ~]# /usr/local/nginx/sbin/nginx -t
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
[root@wx ~]# /usr/local/nginx/sbin/nginx -s reload
[root@wx ~]#
这个问题导致nginx有时会死掉
2016-07-15 11:55 举报
已邀请:
0

clq56688

赞同来自:

应该怎么处理呢?
0

clq56688

赞同来自:

死掉的时候,就出现了这个日志2016/07/15 10:25:26 [emerg] 28462#0: setuid(504) failed (11: Resource temporarily unavailable) 2016/07/15 10:25:26 [alert] 28451#0: worker process 28452 exited with fatal code 2 and cannot be respawned 2016/07/15 10:25:26 [alert] 28451#0: worker process 28454 exited with fatal code 2 and cannot be respawned 2016/07/15 10:25:26 [alert] 28451#0: worker process 28456 exited with fatal code 2 and cannot be respawned 2016/07/15 10:25:26 [alert] 28451#0: worker process 28457 exited with fatal code 2 and cannot be respawned 2016/07/15 10:25:26 [alert] 28451#0: worker process 28459 exited with fatal code 2 and cannot be respawned 2016/07/15 10:25:26 [alert] 28451#0: worker process 28461 exited with fatal code 2 and cannot be respawned 2016/07/15 10:25:26 [alert] 28451#0: worker process 28462 exited with fatal code 2 and cannot be respawned 2016/07/15 10:25:26 [emerg] 28464#0: setuid(504) failed (11: Resource temporarily unavailable) 2016/07/15 10:25:26 [alert] 28451#0: worker process 28464 exited with fatal code 2 and cannot be respawned
0

乐橙306

赞同来自:

一次优化引发的血案
http://huoding.com/2014/08/13/367


资源不足导致nginx 无法启动,  修改 limits.conf 试试
0

clq56688

赞同来自:

我这个系统是centos5.5的应该怎么改呢,是否可以说详细一些
0

clq56688

赞同来自:

说错了这个是redhat的[root@wx ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
0

clq56688

赞同来自:

[root@wx ~]# ulimit -u
20
[root@wx ~]#
0

出VU时代

赞同来自:

ulimit -SHn 65535 65535

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: