我正在用的Django的mod_wsgi在我的服務器和每一件事情正常工作的大部分時間,但有時阿帕奇突然停止服務請求和網站停止加載。阿帕奇突然停止服務請求 - mod_wsgi的
我認爲這是類似於早些時候報道這裏的以下問題。
https://serverfault.com/questions/415397/apache-stops-serving-request
Apache stops processing requests (mod_wsgi?)
但是我想我有合適的WSGI配置集看到@Graham鄧普爾頓的建議。我正在提供我的配置。
WSGIScriptAlias//home/mobilewe/public_html/daily.wsgi
WSGIDaemonProcess daily user=mobilewe group=mobilewe processes=10 threads=15 display-name=%{GROUP}
WSGIProcessGroup daily
WSGIApplicationGroup %{GLOBAL}
我已經爲apache設置了「info」loglevel,這就是我可以在日誌中看到的。
[Thu Jan 30 16:47:21 2014] [info] mod_wsgi (pid=7232): Destroying interpreters.
[Thu Jan 30 16:47:21 2014] [info] mod_wsgi (pid=7232): Cleanup interpreter ''.
[Thu Jan 30 16:47:21 2014] [info] mod_wsgi (pid=7232): Terminating Python.
[Thu Jan 30 16:47:21 2014] [info] mod_wsgi (pid=7232): Python has shutdown.
[Thu Jan 30 16:47:21 2014] [info] [client 76.19.139.222] (32)Broken pipe:
core_output_filter: writing data to the network
[Thu Jan 30 16:47:22 2014] [info] mod_wsgi (pid=7239): Destroying interpreters.
[Thu Jan 30 16:47:22 2014] [info] mod_wsgi (pid=7239): Cleanup interpreter ''.
[Thu Jan 30 16:47:22 2014] [info] mod_wsgi (pid=7239): Terminating Python.
[Thu Jan 30 16:47:22 2014] [info] mod_wsgi (pid=7239): Python has shutdown.
有人能請指教嗎?
@Graham鄧普爾頓等待您對此的建議。 – user3050288
apache錯誤日誌中是否有任何內容? – JAL