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

Re: Re: Help! Urgent problem.

From: David Ferguson <ferguson.david_at_gmail.com>
Date: 2007-10-12 16:01:44 CEST

Okay, I've narrowed down the problem. If I run the following command on a
32-bit machine running RHEL4p4, it fails:

$ /tools/bin/svnlook changed /home/svn/svnrepo_links/xyz -r 5454
svnlook: Can't set position pointer in file
'/home/svn/svnrepo_links/xyz/db/revs/5454': Value too large for defined data
type

If I run the same command on a 64-bit machine running RHEL4p4, the above
command works.

Why would 32 vs. 64 matter? Is there a limit in Subversion? Again, I'm
using Subversion 1.4.3 and db/revs/5454 is a 2.6G file.

thanks,
David

On 10/12/07, Srilakshmanan, Lakshman <
lakshman.srilakshmanan@police.vic.gov.au> wrote:
>
> Hi
>
> > The svn server is running RHEL 4, update 4 with Apache 2.2.3 and
> > Subversion 1.4.3. Repository is mounted over NFS.
>
> Wouldn't mounting a repository over NFS result in repository corruption.
>
> Thanks
> lakshman
> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2007b@ryandesign.com]
> Sent: Friday, 12 October 2007 2:51 PM
> To: David Ferguson
> Cc: Subversion Mailing List
> Subject: Re: Help! Urgent problem.
>
> On Oct 11, 2007, at 22:15, David Ferguson wrote:
>
> > A user just checked in a very large commit in r5454. The db/revs/
> > 5454 file
> > is 2.6G. Now, when anyone tries to make another commit, they get this
>
> > error from the pre-commit hooks:
> >
> > svn: 'pre-commit' hook failed with error output:
> > /tools/bin/svnlook changed /home/svn/svnrepo_links/xyz -t 5454-1
> > svnlook: Can't set position pointer in file
> > '/home/svn/svnrepo_links/xyz/db/revs/5454': Value too large for
> > defined data type
> >
> > I disabled my pre-commit and was able to make another commit, but then
>
> > then the post-commit scripts failed in the same way.
> >
> > Updates seem to work just fine.. What the heck is going on here?
> >
> > The svn server is running RHEL 4, update 4 with Apache 2.2.3 and
> > Subversion 1.4.3. Repository is mounted over NFS.
>
> APR 0.9 had problems with files (hence: revisions) > 2 GB, but Apache
> 2.2.x uses APR 1.2 which doesn't have that problem.
>
> Does your filesystem have problems with files that large?
>
> What are the pre- and post-commit scripts doing?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
> ================================================================================================
> EMAIL DISCLAIMER
>
> This email and any attachments are confidential. They may also be subject
> to copyright.
>
> If you are not an intended recipient of this email please immediately
> contact us by replying
> to this email and then delete this email.
>
> You must not read, use, copy, retain, forward or disclose this email or
> any attachment.
>
> We do not accept any liability arising from or in connection with
> unauthorised use or disclosure
> of the information contained in this email or any attachment.
>
> We make reasonable efforts to protect against computer viruses but we do
> not accept liability
> for any liability, loss or damage caused by any computer virus contained
> in this email.
>
> ================================================================================================
>
Received on Fri Oct 12 16:02:14 2007

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.