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

Re: timeout on report

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-25 13:45:49 CEST

"Geoff O'Callaghan" <geoff@asri.org.au> writes:

> Hi,
>
> I'm new to subversion so be gentle. :-)
>
> I have a networked subversion repository on Linux. I'm not sure how to
> accurately tell the version of SVN. It's checked out of the repos and the
> CHANGES file suggests that it's 0.14.3.

The command 'svn info working/copy/path' shows the revision of
working/copy/path amongst other things. A working copy can be a mixed
revision working copy if you update, switch or commit parts of it, but
if you simply checkout and update the whole thing it will have a
uniform revision.

>
> Anyway, that's not the real problem .... on my remote system I try to do an
> update and get
>
> svn update
> subversion/libsvn_ra_dav/util.c:332: (apr_err=175002, src_err=0)
> svn: RA layer request failed
> svn: REPORT request failed on /web-asri
> subversion/libsvn_ra_dav/util.c:81: (apr_err=175002, src_err=0)
> svn: REPORT of /web-asri: timed out waiting for server
>
> Yes, it is a fairly large repository. How can I change the appropriate
> timeout values in i'm guessing neon?

I suppose you could try modifying neon, but you could also use

Index: subversion/libsvn_ra_dav/session.c
===================================================================
--- subversion/libsvn_ra_dav/session.c (revision 3495)
+++ subversion/libsvn_ra_dav/session.c (working copy)
@@ -454,6 +454,9 @@
   ne_set_useragent(sess, "SVN/" SVN_VERSION);
   ne_set_useragent(sess2, "SVN/" SVN_VERSION);
 
+ ne_set_read_timeout(sess, 10);
+ ne_set_read_timeout(sess2, 10);
+
   /* clean up trailing slashes from the URL */
   len = strlen(uri.path);
   if (len > 1 && uri.path[len - 1] == '/')

which sets a 10 second timeout (adjust to suit). I wonder if this
should be configurable in the config file, just like the proxy?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 25 13:46:29 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.