我使用php作为fastcgi运行nginx。 有时我的网站停止运行,需要重新启动nginx才能重新运行。 我在我的错误日志中find以下内容(由于隐私原因,实际IP已被replace)。 任何人都可以透露一些实际发生的事情吗? 谢谢
2011/05/02 06:41:10 [alert] 1686#0: worker process 1690 exited on signal 9 2011/05/02 06:41:20 [emerg] 25259#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2011/05/02 06:41:20 [emerg] 25259#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2011/05/29 14:01:08 [alert] 25260#0: worker process 25264 exited on signal 9 2011/05/29 14:01:13 [emerg] 24852#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2011/05/29 14:01:13 [emerg] 24852#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2011/06/16 10:10:23 [alert] 24856#0: *14222020 write() to "/var/log/nginx/access.log" was incomplete: 243 of 247 while closing request, client: 123.45.67.89, server: a$ 2011/06/16 10:11:27 [alert] 24856#0: *14222228 write() to "/var/log/nginx/access.log" failed (28: No space left on device) while closing request, client: 123.45.67.89,$ 2011/06/16 10:12:34 [alert] 24856#0: *14222361 write() to "/var/log/nginx/access.log" failed (28: No space left on device) while closing request, client: 123.45.67.89,$ 2011/06/16 10:13:12 [emerg] 7394#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2011/06/16 10:13:12 [emerg] 7394#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2011/06/16 10:13:12 [emerg] 7394#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2011/06/16 10:13:12 [emerg] 7394#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2011/06/16 10:13:12 [emerg] 7394#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2011/06/16 10:13:12 [emerg] 7394#0: still could not bind()
绑定()到0.0.0.0:80失败 – 这意味着它不能绑定到端口80,这通常意味着其他一些应用程序正在使用端口80,你有可能也得到了在这个盒子上运行的Apache同时意外吗?
14222228写入()到“/var/log/nginx/access.log”失败(28:设备上没有剩余空间) – 通常表示磁盘已经写满日志到的磁盘上,可能是一个好主意硬盘空间使用情况,并根据需要对旧文件或旧日志文件进行一些清理