[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 413 Request Entity Too Large

From: Adam Nichols <adam_at_dc949.org>
Date: Wed, 27 Aug 2008 08:24:46 -0700

I upgraded to apache httpd 2.2.9, apr-1.3.3 and apr-util-1.3.4

Additional info from the errorlog:
[Tue Aug 26 20:28:51 2008] [error] [client 192.168.192.187] Invalid
Content-Length
[Tue Aug 26 20:28:51 2008] [error] [client 192.168.192.187] Could not
get next bucket brigade [500, #0]

I tried changing the LimitXMLRequestBody to 10240 to make sure it was
taking effect, and that resulted in a much quicker failure (about 17
seconds instead of 8minutes). So I know the directive is being set to
0 properly.

I tried it from the server itself and connected to https://localhost
and it went through with no problem. So it looks like this might
actually be a problem with the client side and not the server side. I
was using subversion 1.5.1 on both machines, but they were compiled
with different options. I'll look into it tonight when I get back
from work.

--Adam

On Mon, Aug 25, 2008 at 12:04 AM, Adam Nichols <adam_at_dc949.org> wrote:
> I'm using subversion 1.5.1 and am unable to upload large files (the
> one I'm trying to upload is over 4GB). It looks like subversion
> should be able to handle this, however I get "svn: PUT of
> '/!svn/wrk/2c6a8c20-0b88-457d-836a-118fa1ca5a3b/FILE_I_AM_TRYING_TO_UPLOAD':
> 413 Request Entity Too Large (https://HOSTNAME)" when I try to import
> the file.
>
> I was looking through the archives and it looks like the only solution
> proposed was about client side certs (which I do not use). Source:
> http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=73988
>
> According to the manual, the solution is to use the
> LimitXMLRequestBody directive.
> http://publib.boulder.ibm.com/httpserv/manual60/mod/mod_dav.html
>
> Does subversion support files over 2GB? If so, can someone point me
> in the right direction on what I'm doing wrong in my config?
>
> Below are the relevant config options from my apache configuration:
>
> LimitRequestBody 0
> LimitXMLRequestBody 0
>
> DavLockDB "/var/lock/DavLock"
>
> <Location />
> DAV svn
> SVNPath /mnt/monster/svn
>
> AuthType Basic
> AuthName "Subversion Repository"
> AuthUserFile /etc/svn_htpasswd
> Require valid-user
> SSLRequireSSL
> </Location>
>
>
>
> Thanks,
> Adam
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-27 17:25:21 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.