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

Re: Large Commits Fail

From: Rob Wilkerson <r.d.wilkerson_at_gmail.com>
Date: 2006-08-21 20:17:55 CEST

On 8/21/06, Rob Wilkerson <r.d.wilkerson@gmail.com> wrote:
> Thanks for the information, Erik. How are Subversion commits
> executed? One large XML file or file-by-file? I'm getting the error
> again while trying to commit a large merge and I'd really like to keep
> the merge recorded in a single commit. If the commit is file-by-file
> then it doesn't seem like this would really be the problem (but I also
> don't know what the XML format looks like).
>
> Thanks again. I'd like to know as much as possible before trying this
> over and over again and risking the database itself.
>
> Thanks.
>
> On 8/21/06, Erik Huelsmann <ehuels@gmail.com> wrote:
> > On 8/19/06, Rob Wilkerson <r.d.wilkerson@gmail.com> wrote:
> > > Can someone help me understand why I can't seem to perform large-scale
> > > commits? Is this a limitation of Subversion? I have a reasonably
> > > large - but not crazy - repository (roughly 3,000 files). I just set
> > > svn:keywords on all files from the root and that worked great. When I
> > > try to commit, however, the commit fails. If I try the same commit
> > > multiple times, the reason for the failure changes frequently. The
> > > "location" of the error (at least where it's reported in the commit
> > > process) changes every single time.
> > >
> > > Sometimes I get this:
> > > At least one property change failed; repository is unchanged
> > >
> > > Sometimes I get this:
> > > CHECKOUT of '/repos/myproject/!svn/ver/16/branches/dev/tahoe-code-reorg/.java/src/com/wintertree/ssce/PropSpellingSession.java':
> > > could not connect to server (http://vm-seprojects)
> > >
> > > There are one or two others that make an appearance, too, but I don't
> > > have access to those at the moment. Considering the inconsistency
> > > with which I get them and the locations in which they're reported, the
> > > message itself may (or may not) be terribly important.
> > >
> > > Seems like doing several smaller commits solves the problem, but
> > > that's not really much of a solution.
> > >
> > > This has happened to me before on large commits and I've never been
> > > able to figure it out. Anyone have any thoughts?
> >
> > The Apache server has a maximum XML request body. If you surpass the
> > amount specified, the server hangs up the connection. In the second
> > case, you may have hit that problem. Search the Apache docs for the
> > parameter to set.

It's definitely this case. I'm not using BDB as my repository. Well,
I don't think I am. I installed via rpm, so I guess I don't know that
for a fact. I found the Apache directive I believe you referenced
(LimitXMLRequestBody) and set it to 0 to disable the limit, but still
no go. The error I get when trying to commit the merge is:

COPY of path/to/file.ext: could not connect to server (http://saiprojects).

The actual fail on which the commit fails varies, but the message is the same.

I'd like to remove the network from the equation, but unfortunately, I
just can't do that. Any other suggestions would be welcome.

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 21 20:21:35 2006

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.