【发布时间】:2012-04-19 03:56:24
【问题描述】:
我使用 fastcgi 来运行一个 django 应用程序。我用来运行它的命令如下:
python manage.py runfcgi method=threaded host=127.0.0.1 port=3035
如果我输入ps -ef|grep python 我也可以看到线程,但是当我使用lynx localhost:3035 打开它时,我得到一个 504 网关超时。
所以,现在我使用
python manage.py runserver 3035
它运行正常。我不知道共振。过去,我使用 django 1.2 并且还可以。
我的服务器信息:
debian5.0、django1.3、python2.6
【问题讨论】:
标签: python django timeout fastcgi