nginx:accept(4) failed (23: Too many open files)
今天发现网站出现500 Internal Server Error错误,重启后正常了:打开 nginx_error.log看了下,发现提示错误:
2017/11/22 10:43:17 18717#0: accept4() failed (23: Too many open files in system)
ulimit -n看了下,发现是65535
#ulimit -n
65535
请问,军哥,这是咱回事? 今天又出现了nginx500 Internal Server Error,军哥求解 不大清楚,你是什么程序?
回复 3# 的帖子
modoer (也是网上开源程序),还有几个wordpress感觉过2天就要出现一次,重启下就好 nginx_error.log 发现大量这个错误,刚刚挂掉了,发现27的号的错误日志反而没有
2017/11/26 22:03:57 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:03:58 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:03:58 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:03:59 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:03:59 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:04:00 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:04:00 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:04:01 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:04:01 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:04:02 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:04:02 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:04:03 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:04:03 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:04:04 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:04:04 440#0: accept4() failed (23: Too many open files in system)
2017/11/26 22:04:05 440#0: accept4() failed (23: Too many open files in system) 500建议还是开php错误日志看看
页:
[1]