You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Shawn Smiley <ss...@yahoo.com> on 2006/10/31 19:56:38 UTC

File size limit exceeded when loading a dump file

I'm in the process of migrating my SVN Repositories from a really old server running Windows 2000 and SVN 1.1 to a newer server running Ubuntu 6.10 Server and SVN 1.3 (1.4 packages aren't available yet)

For one of my repositories I only want to keep the most recent revision and the various tags that have been defined.  So I've done an svnadmin dump -R5237:5237 > repo1.dump

This generated a 16GB dump file that I have transferred to the new server.

I've created a new SVN 1.3 repository on my Linux server using the default options (svnadmin create /svn/repo1) and started an import of the dump file (svnadmin load /svn/repo1 < repo1.dump)

The import runs fine for awhile and then stops with the error "File size limit exceeded".

I've seen several messages in the list serv archive and on Google about this indicating that it's a problem with the APR0.9 bindings.  I've also seen messages indicating that the newer versions of SVN are compiled against APR 1.x so I would thing that this is not quite the same problem.

So my questions are:
1. Is SVN 1.3 compiled against the version of APR that has the 2GB limit?
2. If not, what else could be causing this problem?

The /svn path is a separate 75GB Partition formatted ext3.

The server is a clean built (2 days ago) install of Ubuntu 6.10 Server using the default options with LAMP preinstalled.

Thanks,
Shawn.




Re: File size limit exceeded when loading a dump file

Posted by Erik Huelsmann <eh...@gmail.com>.
On 10/31/06, Shawn Smiley <ss...@yahoo.com> wrote:
>
> I'm in the process of migrating my SVN Repositories from a really old server
> running Windows 2000 and SVN 1.1 to a newer server running Ubuntu 6.10
> Server and SVN 1.3 (1.4 packages aren't available yet)
>
> For one of my repositories I only want to keep the most recent revision and
> the various tags that have been defined.  So I've done an svnadmin dump
> -R5237:5237 > repo1.dump
>
> This generated a 16GB dump file that I have transferred to the new server.
>
> I've created a new SVN 1.3 repository on my Linux server using the default
> options (svnadmin create /svn/repo1) and started an import of the dump file
> (svnadmin load /svn/repo1 < repo1.dump)
>
> The import runs fine for awhile and then stops with the error "File size
> limit exceeded".
>
> I've seen several messages in the list serv archive and on Google about this
> indicating that it's a problem with the APR0.9 bindings.  I've also seen
> messages indicating that the newer versions of SVN are compiled against APR
> 1.x so I would thing that this is not quite the same problem.

Well, assuming you have an FSFS repository and your Ubuntu system
comes with Apache 2.0, I'm quite sure your Subversion is linked
against APR-0.9. All 1.0+ versions of Subversion can be either linked
to APR-0.9 or APR-1.x, but it'll need to be the same APR as Apache, if
you use mod_dav_svn to access the repository.

For 2GB+ files to work with APR, you need 1.2.6 though, which contains
crucial fixes to make the 1.0 support actually work.

> So my questions are:
> 1. Is SVN 1.3 compiled against the version of APR that has the 2GB limit?
> 2. If not, what else could be causing this problem?

1. Yes, probably.
2. See (1)

> The /svn path is a separate 75GB Partition formatted ext3.

> The server is a clean built (2 days ago) install of Ubuntu 6.10 Server using
> the default options with LAMP preinstalled.

Well, Linux does support it, but APR/Apache didn't sufficiently...

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: File size limit exceeded when loading a dump file

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 31, 2006, at 13:56, Shawn Smiley wrote:

> I'm in the process of migrating my SVN Repositories from a really  
> old server running Windows 2000 and SVN 1.1 to a newer server  
> running Ubuntu 6.10 Server and SVN 1.3 (1.4 packages aren't  
> available yet)
>
> For one of my repositories I only want to keep the most recent  
> revision and the various tags that have been defined.  So I've done  
> an svnadmin dump -R5237:5237 > repo1.dump
>
> This generated a 16GB dump file that I have transferred to the new  
> server.
>
> I've created a new SVN 1.3 repository on my Linux server using the  
> default options (svnadmin create /svn/repo1) and started an import  
> of the dump file (svnadmin load /svn/repo1 < repo1.dump)
>
> The import runs fine for awhile and then stops with the error "File  
> size limit exceeded".
>
> I've seen several messages in the list serv archive and on Google  
> about this indicating that it's a problem with the APR0.9  
> bindings.  I've also seen messages indicating that the newer  
> versions of SVN are compiled against APR 1.x so I would thing that  
> this is not quite the same problem.
>
> So my questions are:
> 1. Is SVN 1.3 compiled against the version of APR that has the 2GB  
> limit?

The Subversion team does not distribute any compiled binaries. So,  
what did you compile it against? Or: what unofficial Subversion  
binary did you install? As far as I know, all the unofficial binaries  
available at the download page use APR 0.9. Also, Subversion still  
ships with APR 0.9. If you want APR 1.2, you probably need to build  
it yourself.

> 2. If not, what else could be causing this problem?
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org