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

Re: Is there a 2 GB file size limit in Subversion - Apache? 413 Request Entity Too Large -- Solution

From: <kmradke_at_rockwellcollins.com>
Date: Tue, 11 Jan 2011 08:55:07 -0600

"Curley, John" <John.Curley_at_windriver.com> wrote on 01/11/2011 12:03:46
AM:
> There seems to be a 2 GB file size limit, if you use the default
> command to commit. We encountered this problem and eventually found
> the solution.
>
> This is not a Subversion limit, nor is it an Apache limit.

I believe this is only a limit on windows platforms. The ra_neon
layer appears to be sending a negative size value in the http header.
Possibly a missing cast in the code. I never was able to debug
it further. As you found, using ra_serf (or using ra_neon on most
unix platforms) should work fine. I've seen 20GB+ commits work.

(It appears the actual limit is the size of the compressed delta of
an individual file needs to be less than 2GB.)

> The default module for accessing the repository is ra_neon. This
> module (!) has the 2 GB limit. If you specify using ra_serf (serf)
> instead, that works.
>
> This is the command line option (from the client): --config-option
> servers:global:http-library=serf
>
> I don't know how to do this in a GUI situation. It took me a LONG
> time to find this on the web.

You can configure the servers file to specify the use of ra_neon:
(This would actually default all clients to use serf)

http-library=serf

Kevin R.
Received on 2011-01-11 15:55:49 CET

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.