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

Re: svn import hangs in fs type repository

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-09-27 22:27:59 CEST

"v.kalra.w" <vkalra@agere.com> wrote on 09/27/2005 04:18:49 PM:

> We've been using subversion for some small projects and have been happy
> enough with it that we want to move some of our big stuff under it.
> Unfortunately, the very first such project has run into various
> unexplained hangs at import time and some of the team members are having
> second thoughts about it. I've googled for the scenarios and looked at
> the mailing list archives, but I cannot seem to find anything similar
> that others may have run across.
>
> First the basics: We're trying to put about 10GB worth of data in about
> 6000 files under svn. The files are a mix of binary and ascii files,
> mostly ascii. The repository type does NOT use Berkley DB -- We've tried
> verisons 1.1.3 and 1.2.1, going over http or using the NFS file system
> via the file:// mechanism, but in all cases, the import hangs part of
> the way through the process. The whole process takes hours to go
> through, so it is very frustrating to find it hang yet another time.
>
> Any ideas?! Please help!

Depending on how your APR (on the server) was compiled it may not be able
to handle files that are > 2GB. If you commit more than 2 GB at one time,
you will have a revision file in the fsfs repository that APR cannot
handle due to its size. I am not saying that is the problem, but that is
somewhere to start.

So my recommendation would be to go back to the idea of breaking the
import into chunks.

A lot of "seasoned" users try to avoid using svn import. An easy trick is
to perform a checkout of your empty repository into a local folder. This
then creates an empty working copy. You can then start creating your
folder/file structure that you want and use svn add and svn commit to get
it to the repository. This technique might make it easier for you to do
this in chunks.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 27 22:29:55 2005

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.