Linux
內部伺服器錯誤和程序優雅終止失敗
內部伺服器錯誤在瀏覽器中註冊,在 Apache 錯誤日誌文件中我只能看到同時拋出以下警告:
[warn] mod_fcgid: process XXXXX graceful kill fail, sending SIGKILL
這兩個錯誤是否相互關聯?
我在我的問題上找到了答案,apache 錯誤日誌文件中也出現了以下錯誤:
mod_fcgid: read data timeout in 45 seconds Premature end of script headers: index.php
這來自快速 cgi 配置,我增加了 IOTimeout 值
/etc/httpd/conf.d/fcgid.conf
FcgidIOTimeout 45 to FcgidIOTimeout 300
這似乎是一個相關的問題,有一些關於如何解決它的建議: mod_fcgi in virtualmin: graceful kill fail, sent SIGKILL?