我今天早些时候将更新推送到我的网站,当我尝试连接到它时,收到网关超时错误(503)。
这是我的错误日志:
[Wed Nov 04 01:34:26 2015] [error] [client 128.79.79.108] Timeout when reading response headers from daemon process 'elandemdaemon': /home/python/home/elandem/edem/edem/wsgi.py
[Wed Nov 04 01:38:39 2015] [error] [client 66.249.79.153] Timeout when reading response headers from daemon process 'elandemdaemon': /home/python/home/elandem/edem/edem/wsgi.py
[Wed Nov 04 01:39:26 2015] [error] [client 128.79.79.108] Timeout when reading response headers from daemon process 'elandemdaemon': /home/python/home/elandem/edem/edem/wsgi.py
[Wed Nov 04 01:40:18 2015] [error] [client 109.190.112.58] Timeout when reading response headers from daemon process 'elandemdaemon': /home/python/home/elandem/edem/edem/wsgi.py
以下是我的wsgi.py文件的内容:
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "edem.settings")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
我恢复了我的变化(小事),但问题仍然存在。更新后问题是否刚刚发生,这只是巧合吗?
当我使用runsever 0.0.0.0:8000加载网站时,它运行正常。
是否有逐步检查此问题可能发生的位置?