gpt4 book ai didi

python - 资源暂时不可用 : mod_wsgi (pid=28433): Unable to connect to WSGI daemon process

转载 作者:行者123 更新时间:2023-11-28 19:30:26 24 4
gpt4 key购买 nike

首先:我正在使用 Apache/2.2.31 (Unix) 和带有 WSGI 的 Django 1.8 开发网络服务器。

一切都很好,直到我对我的 views.py 文件做了一些更改并触摸 wsgi.py 以使更改生效。紧接着,每次我尝试使用浏览器访问我域中的任何页面时,它都会返回以下消息:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 503 Service Temporarily Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

我的 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

但是我不知道怎么解决。请帮帮我。

最佳答案

找不到答案后,我重启Apache解决了。

关于python - 资源暂时不可用 : mod_wsgi (pid=28433): Unable to connect to WSGI daemon process,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34504239/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com