Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby-on-rails-4/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Django 断开的内部链接INTERNAL_error.html_Django_Url_Hyperlink_Internal - Fatal编程技术网

Django 断开的内部链接INTERNAL_error.html

Django 断开的内部链接INTERNAL_error.html,django,url,hyperlink,internal,Django,Url,Hyperlink,Internal,我不断收到django关于内部链接中断的电子邮件 它们总是指向internal_error.html。虽然没有显示错误 有人知道我怎样才能找出这些错误的根源吗 以下是一封电子邮件示例: 推荐人: 请求的URL:/subject//internal\u error.html 用户代理:Mozilla/5.0(Windows NT 5.1;rv:2.0)Gecko/20100101 Firefox/4.0 IP地址:xxx.xxx.xxx.xxx 你在用fastcgi吗 看起来,这个问题是由非常大

我不断收到django关于内部链接中断的电子邮件

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

有人知道我怎样才能找出这些错误的根源吗

以下是一封电子邮件示例:

推荐人:

请求的URL:/subject//internal\u error.html

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

IP地址:xxx.xxx.xxx.xxx

你在用fastcgi吗

看起来,这个问题是由非常大或很长的apges引起的,如中所述。其中一位用户说,启用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()

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

您的脚本已被删除 自动被我们的进程终止 由于您的站点正在运行,因此监视程序脚本 超出共享服务器上的内存限制 服务器


:(

此外,它们似乎很难复制。有时,如果我请求一个页面,就会出现此错误,但如果我重试,它就会工作。我正在运行此操作。如果服务器正在终止进程,这可能是问题所在吗?