> Van: Jacob Weber [mailto:jacob_at_jacobweber.com]
> Sometimes when I commit a very large merge (around 1000 changes), I get the
> following error:
> Transmitting file data ...
> RA layer request failed
> svn: Commit failed (details follow):
> svn: MERGE of '/path/to/trunk': timed out waiting for server
> The thing is, the commit actually succeeded; I can see the new version using
> svn log.
> But it seems like my working copy wasn't informed of the successful commit.
> So it thinks it's at the previous version. If I try to update, it will see
> all the changes from the merge as conflicts. As a result, the working copy is
> completely useless, and must be deleted.
> Looking in the Apache logs for my server, I see this (it appears a few
> minutes after I get the error):
> [Mon Dec 14 13:23:19 2009] [error] [client 184.108.40.206] Could not MERGE resource
> f-4ffdd268ac25" into "/path/to/trunk". [500, #0]
> [Mon Dec 14 13:23:19 2009] [error] [client 220.127.116.11] Error constructing
> resource list. [500, #104]
> [Mon Dec 14 13:23:19 2009] [error] [client 18.104.22.168] Can't write response to
> output: Connection reset by peer [500
> , #104]
> Any idea what could cause this? Is Subversion closing the connection after a
> certain timeout period?
> My client is Subclipse 1.6.5, using SVNKit 1.3.1. The Subclipse people didn't
> think it was a Subclipse bug, although it could be a problem with SVNKit. The
> server is Subversion 1.6.5 using Apache.
With svn over http(s), there are two relevant timeout setting AFAIK:
- Client side: http-timeout in the client configuration file 'servers'. Default is 60 seconds with neon (which is still the default in 1.6.x), I think.
- Server side: the directive "Timeout" in httpd.conf. Default is 300 seconds.
Wild guess (don't know those particular error messages): maybe the connection timed out during execution of your post-commit hook (sending mails, executing an update of a WC on the server, ...)? In that case the commit would be successful in the repository, but the client would still get an error. Have a look at your post-commit hook, and try to add some debug/timing logging to it to investigate if necessary.
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-15 14:05:07 CET