问题描述
有时我在更新 svn 存储库时收到错误413 请求实体太大".收到此错误后,每次尝试更新本地工作副本时它都会继续.重新结帐可以解决问题,但非常不方便.项目超过30GB,外部托管SVN仓库.
On occasion I receive an error "413 Request Entity Too Large" while updating an svn repository. Once I receive this error, it continues every time I attempt to update the local working copy. A new checkout will solve the problem, but is very inconvenient. The project is over 30 GB, and the SVN repository is hosted externally.
这种情况过去曾发生在多台不同的计算机上,包括 Windows 开发机器和我们的 Linux 构建服务器.
This has occurred in the past on several different computers, including Windows development machines, and our Linux build server.
我发现的关于此问题的大部分内容都与大型单个文件(超过 2GB)有关.这不是这里的情况,因为最大的文件大约是.50-60 MB.
Most of what I have found regarding this issue relates to large individual files (over 2GB). This is not the case here, as the largest files are approx. 50-60 MB.
有没有其他人遇到过这个问题和/或知道原因/解决方案?
Has anyone else ran into this before and/or know the cause/solution to this?
推荐答案
尝试将以下配置指令添加到您的 Apache 配置文件中:
Try to add the following configuration directives to your Apache configuration file:
LimitXMLRequestBody 8000000
LimitRequestBody 0
这篇关于什么导致 svn 错误 413 请求实体太大?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!