首先:我正在使用Apache/2.2.31 (Unix)和Django 1.8与WSGI构建web服务器。
一切都很好,直到我更改了views.py文件并触及wsgi.py以使更改生效。之后,每次我尝试通过浏览器访问域中的任何页面时,会返回以下消息:
“服务暂时不可用”
由于维护停机或容量问题,服务器暂时无法为您提供服务。请稍后再试。
此外,在尝试使用错误文件处理请求时遇到503 Service Temporarily Unavailable错误。
我的Apache error_log具有以下条目:
我整天在寻找解决方案,最后找到了这个:https://groups.google.com/forum/#!topic/modwsgi/H7qPoqYNJdI和无人回答的问题:https://stackoverflow.com/questions/33549891/mod-wsgi-returning-503-service-unavailable但我不知道该如何解决。请帮忙。
一切都很好,直到我更改了views.py文件并触及wsgi.py以使更改生效。之后,每次我尝试通过浏览器访问域中的任何页面时,会返回以下消息:
“服务暂时不可用”
由于维护停机或容量问题,服务器暂时无法为您提供服务。请稍后再试。
此外,在尝试使用错误文件处理请求时遇到503 Service Temporarily Unavailable错误。
我的Apache error_log具有以下条目:
[Mon Dec 28 23:06:02 2015] [error] [client xx.xx.xx.xx] (11)Resource temporarily unavailable: mod_wsgi (pid=24172): Unable to connect to WSGI daemon process 'name_of_my_project' on '/route/to/apache/log/wsgi.1922.18.1.sock' after multiple attempts as listener backlog limit was exceeded., referer: http://myproject.com/
[Mon Dec 28 23:06:17 2015] [error] [client xx.xx.xx.xx] (11)Resource temporarily unavailable: mod_wsgi (pid=24172): Unable to connect to WSGI daemon process 'name_of_my_project' on '/route/to/apache/log/wsgi.1922.18.1.sock' after multiple attempts as listener backlog limit was exceeded., referer: http://myproject.com/
[Mon Dec 28 23:16:02 2015] [error] [client xx.xx.xx.xx] (11)Resource temporarily unavailable: mod_wsgi (pid=28572): Unable to connect to WSGI daemon process 'name_of_my_project' on '/route/to/apache/log/wsgi.1922.18.1.sock' after multiple attempts as listener backlog limit was exceeded.
[Mon Dec 28 23:16:17 2015] [error] [client xx.xx.xx.xx] (11)Resource temporarily unavailable: mod_wsgi (pid=28572): Unable to connect to WSGI daemon process 'name_of_my_project' on '/route/to/apache/log/wsgi.1922.18.1.sock' after multiple attempts as listener backlog limit was exceeded.
我整天在寻找解决方案,最后找到了这个:https://groups.google.com/forum/#!topic/modwsgi/H7qPoqYNJdI和无人回答的问题:https://stackoverflow.com/questions/33549891/mod-wsgi-returning-503-service-unavailable但我不知道该如何解决。请帮忙。