开发者

Broken INTERNAL link internal_error.html

I keep getting emails from django about broken INTERNAL links.

They're always point to internal_error.html. Although no error is shown.

Anyone know how I can get to the bottom of these errors?

Here's an example email:

Referrer: http://www.example.com/subject/590/Philosophy/

Requested URL:/subject//internal_error.html

User agent: Mo开发者_如何学Czilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0

IP address: xxx.xxx.xxx.xxx


I contacted my host and they said that

your scripts have been getting automatically killed by our Process Watcher script due to your sites going over Memory limits on the shared server.

:(


Are you using fastcgi?

It seems, that this problem accures with very big or long apges, as written in one of the topics. One of the users said, that enabling gzip helped.

django-fcgi.py:

#!/usr/bin/python
from flup.server.fcgi_fork import WSGIServer
#from flup.server.fcgi import WSGIServer
from flup.middleware.gzip import GzipMiddleware

from django.core.handlers.wsgi import WSGIHandler

handler = WSGIHandler()
handler = GzipMiddleware(handler)
WSGIServer(handler).run()
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜