Lighttpd

lighttpd 自發當機

  • October 17, 2016

多年來,我一直在 VPS 上非常成功地使用 lighttpd,但自從 9 月 30 日從 Ubuntu 14.04 升級到 16.04.1 後,我遇到了障礙。(我的 lighttpd 現在是 1.4.35。)兩次,在嘗試訪問我的網站時,我發現即使伺服器本身仍在執行,lighttpd 也沒有執行。一旦我再次啟動它,lighttpd 執行良好。對於第二個事件,我的 lighttpd 錯誤日誌中只有:

2016-10-09 14:10:57: (connections.c.1702) SSL: 1 -1 error:140E0197:SSL routines:SSL_shutdown:shutdown while in init 
2016-10-10 02:12:55: (connections.c.305) SSL: 1 error:1408A10B:SSL routines:ssl3_get_client_hello:wrong version number 
2016-10-10 02:14:01: (connections.c.305) SSL: 1 error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher 
2016-10-10 06:48:22: (connections.c.305) SSL: 1 error:140943E8:SSL routines:ssl3_read_bytes:reason(1000) 
2016-10-10 06:48:22: (connections.c.1702) SSL: 1 -1 error:140E0197:SSL routines:SSL_shutdown:shutdown while in init 
2016-10-10 07:01:39: (connections.c.1702) SSL: 1 -1 error:140E0197:SSL routines:SSL_shutdown:shutdown while in init 
2016-10-10 07:35:02: (server.c.1558) server stopped by UID = 0 PID = 7365 
2016-10-10 07:35:02: (log.c.164) server started 
2016-10-10 07:35:02: (server.c.1558) server stopped by UID = 0 PID = 1 

breakage.log是空的。

關於我如何弄清楚是什麼殺死了這個過程的任何提示?PID 1 是 systemd,但 PID 7365 現在已經死了,我不知道它是什麼。

自發性死亡昨天再次發生,在一天中的同一時間(但在一周中的不同天):

2016-10-16 07:35:02: (server.c.1558) server stopped by UID = 0 PID = 2169
2016-10-16 07:35:03: (log.c.164) server started 
2016-10-16 07:35:03: (server.c.1558) server stopped by UID = 0 PID = 1

我認為問題與我的自定義有關/etc/logrotate.d/lighttpd,它使用舊命令invoke-rc.d lighttpd reload而不是新命令invoke-rc.d lighttpd reopen-logs。我已更改為reopen-logs,希望問題不會再次發生。

引用自:https://serverfault.com/questions/808502