2011-04-19 32 views
1

我不断收到django发来的关于破坏的INTERNAL链接的电子邮件。残破的内部链接internal_error.html

它们总是指向internal_error.html。尽管没有显示错误。

任何人都知道如何才能找到这些错误的底部?

下面是一个例子电子邮件:

推荐人: http://www.example.com/subject/590/Philosophy/

请求的URL:/subject//internal_error.html

用户代理:Mozilla的/ 5.0(Windows NT的5.1; RV: 2.0)Gecko/20100101 Firefox/4.0

IP地址:xxx.xxx.xxx.xxx

+0

此外,他们似乎很难重现。有时,如果我请求一个页面我得到这个错误,但如果我再试试它会工作。 – Gezim 2011-04-19 03:59:39

+0

我客运运行此。如果服务器正在终止进程,那会是问题吗? – Gezim 2011-04-19 04:00:11

回答

2

我联系,我的主人,他们说

脚本已经越来越 我们的流程 看守脚本自动杀死因您的网站去 超过共享 服务器上的内存限制。

:(

0

您使用的是fastcgi吗?

看来,这个问题与非常大或很长的高峰相符,如one of the topics中所写。其中一位用户说,启用gzip有帮助。

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()