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

Re: Client failing in presence of huge files (> 2GB)

From: <kfogel_at_collab.net>
Date: 2005-06-22 20:12:15 CEST

Pierre-Charles David <pierre-charles.david@wanadoo.fr> writes:
> The svn client stops working correctly when a huge file is present in
> the current directory, even if the said file is not managed by svn.
>
> Steps to reproduce:
>
> ~/tmp$ svnadmin create repo
> ~/tmp$ svn co file://$PWD/repo t
> ~/tmp$ cd t
> ~/tmp/t$ dd if=/dev/zero of=huge count=1 seek=4M
> ~/tmp/t$ ls -lh
> -rw-r--r-- 1 pcdavid pcdavid 2,1G 2005-06-22 18:43 huge
> ~/tmp/t$ svn status -v
> svn: Can't read directory '.': Partial results are valid but processing
> is incomplete
>
> This happens with:
> - svn, version 1.1.1 (r11581) [version included in Ubuntu Hoary]
> - svn, version 1.2.0 (r14790) [locally compiled and installed]
>
> Note that it works OK with a 1G file, or if the file is inside a
> directory which is itself not managed by svn.
>
> I don't know if it's relevant, but the underlying filesystem is
> ReiserFS3 under Linux 2.6.10.

Hmmm, you may have to rebuilt against an APR compiled with largefile
support ("-DLARGEFILE", maybe? not sure).

We really need a FAQ item about this; if you do rebuild, would you
consider writing one? If so, send it as a patch to the dev@ list,
putting "[PATCH]" in the subject line. Further hints available at
http://subversion.tigris.org/mailing-list-guidelines.html#patches.

Good luck,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 22 20:57:49 2005

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