我希望任何人都可以帮助我或引导我正确的方向最近我搬到一个新的托pipe,并开始在我的nginx日志
2015/09/24 11:12:01 [notice] 6697#0: signal 10 (SIGUSR1) received, reopening logs 2015/09/24 11:12:01 [info] 6697#0: epoll_wait() failed (4: Interrupted system call) 2015/09/24 11:12:01 [notice] 6697#0: reopening logs 2015/09/24 11:12:01 [notice] 6693#0: signal 10 (SIGUSR1) received, reopening logs 2015/09/24 11:12:01 [notice] 6693#0: reopening logs 2015/09/24 11:12:01 [notice] 6694#0: signal 10 (SIGUSR1) received, reopening logs 2015/09/24 11:12:01 [info] 6694#0: epoll_wait() failed (4: Interrupted system call) 2015/09/24 11:12:01 [notice] 6694#0: reopening logs 2015/09/24 11:12:01 [notice] 6695#0: signal 10 (SIGUSR1) received, reopening logs 2015/09/24 11:12:01 [info] 6695#0: epoll_wait() failed (4: Interrupted system call) 2015/09/24 11:12:01 [notice] 6695#0: reopening logs 2015/09/24 11:12:01 [notice] 6694#0: reopening logs 2015/09/24 11:12:01 [notice] 6695#0: reopening logs 2015/09/24 11:12:01 [notice] 6696#0: reopening logs 2015/09/24 11:12:01 [notice] 6697#0: reopening logs
旧服务器并不是这样的情况,旧的和新的服务器都有相同的configuration,相同的处理器和相同的硬盘。 这里是nginxconfiguration选项
# /usr/local/nginx/sbin/nginx -V nginx version: nginx/1.9.3 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) configure arguments: --with-http_stub_status_module --with-http_perl_module --with-http_flv_module --add-module=/usr/local/src/nginx_mod_h264_streaming-2.2.7 --add-module=/usr/local/src/headers-more-nginx-module-0.261 --with-debug
Nginx使用USR1信号重新打开用于日志旋转的日志,请参阅:
你应该检查你的logrotate设置,例如在/etc/logrotate.d/nginx