You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Alan Chandler <al...@chandlerfamily.org.uk> on 2002/11/04 07:15:37 UTC

Timeout problem with switch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have imported the whole of koffice into a svn repository on my home server 
(based on 0.14.5 - accessed via mod_dav_syn compiled from source - clients 
are 0.14.3 from debian unstable).  I then made a branch using svn cp  and 
checked this branch out on to a client machine.  No changes have been made to 
the trunk or the branch.

Attempting to use svn sw to switch back to the trunk I get

svn: RA layer request failed
svn: REPORT request failed on /svn/koffice/branches/kpresenter-only
svn: REPORT of /svn/koffice/branches/kpresenter-only: timed out waiting for 
server

[my mailer is adding a line wrap thats not there on the third line]

This is repeatable (it takes a couple of minutes to happen)
- -- 
Alan Chandler
alan@chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9xh6euFHxcV2FFoIRAqe6AJwLpnGkaupw2nyO6s47uFkSFuN94gCff1d/
mpqPbunU4yi8+YzWluTUmvA=
=0vjE
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Timeout problem with switch

Posted by Nuutti Kotivuori <na...@iki.fi>.
Alan Chandler wrote:
> On Monday 04 November 2002 10:34 am, Nuutti Kotivuori wrote:
>> Alan Chandler wrote:
> ...
>>> Attempting to use svn sw to switch back to the trunk I get
>>>
>>> svn: RA layer request failed svn: REPORT request failed on
>>> /svn/koffice/branches/kpresenter-only svn: REPORT of
>>> /svn/koffice/branches/kpresenter-only: timed out waiting for
>>> server
>>
>> Um, I think it might be simply that the operation is taking longer
>> than expected. In 0.14.5, you can specify the timeouts yourself in
>> the configuration files - so you might try if that solves your
>> issues.
> 
> I am puzzled.  Why should it take so long for the server side to
> communicate with the client?  Is the server doing a diff between the
> two branches looking for changes before the client side is given a
> potential change to its working directory.  If so, dependant on the
> size of the repository and the speed of the server this could take
> an arbitary length of time.  Should not the server at least tell the
> client every so often - "yes I am still working on it - haven't
> found any changes for you yet" ?  Expecting client side
> configuration for a timeout seems wrong for this (it was about 2
> minutes - for 120MB repository [Working copy is 200+MB - but I using
> the deflate option])

Well - I think this is a bit of a problem with the HTTP protocol in
general. I don't know of a way to holler back inside a normal WebDAV
or DeltaV session that "hey, I'm still doing stuff".

The REPORT request, as far as I know, is just about paths and their
revisions and such - it does not do comparing (someone correct me if
I'm wrong). Now I'm not sure why it takes so long to complete - but it
might be a bug - you might watch the server CPU and memory usage and
see what's up with it.

Someone who really knows this stuff should probably answer :-)

>> On the other hand, the reason why it takes so long might be huge
>> memory-usage - but that might also be fixed in 0.14.5. So - either
>> live with it for a few days until dwhedon manages to make the
>> 0.14.5 Debian packages or upgrade it yourself.
> 
> Are you saying that the client should also be 0.14.5 to solve this
> problem (my server already is)?

Yes. That is what I'm saying.

0.14.5 client has the ability to specify timeouts.

-- Naked

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Timeout problem with switch

Posted by Alan Chandler <al...@chandlerfamily.org.uk>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 04 November 2002 10:34 am, Nuutti Kotivuori wrote:
> Alan Chandler wrote:
...
> > Attempting to use svn sw to switch back to the trunk I get
> >
> > svn: RA layer request failed svn: REPORT request failed on
> > /svn/koffice/branches/kpresenter-only svn: REPORT of
> > /svn/koffice/branches/kpresenter-only: timed out waiting for server
>
> Um, I think it might be simply that the operation is taking longer
> than expected. In 0.14.5, you can specify the timeouts yourself in the
> configuration files - so you might try if that solves your issues.

I am puzzled.  Why should it take so long for the server side to communicate 
with the client?  Is the server doing a diff between the two branches looking 
for changes before the client side is given a potential change to its working 
directory.  If so, dependant on the size of the repository and the speed of 
the server this could take an arbitary length of time.  Should not the server 
at least tell the client every so often - "yes I am still working on it - 
haven't found any changes for you yet" ?  Expecting client side configuration 
for a timeout seems wrong for this (it was about 2 minutes - for 120MB 
repository [Working copy is 200+MB - but I using the deflate option]) 

>
> On the other hand, the reason why it takes so long might be huge
> memory-usage - but that might also be fixed in 0.14.5. So - either
> live with it for a few days until dwhedon manages to make the 0.14.5
> Debian packages or upgrade it yourself.

Are you saying that the client should also be 0.14.5 to solve this problem (my 
server already is)? 

- -- 
Alan Chandler
alan@chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9xuvnuFHxcV2FFoIRAjaiAJ9bxDJlwkutRu3MYgs2N5o49vXiCQCfbQOW
TEODqiy6Nc+wG3M6H/jwNgo=
=BEaK
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Timeout problem with switch

Posted by Nuutti Kotivuori <na...@iki.fi>.
Alan Chandler wrote:
> I have imported the whole of koffice into a svn repository on my
> home server (based on 0.14.5 - accessed via mod_dav_syn compiled
> from source - clients are 0.14.3 from debian unstable).  I then made
> a branch using svn cp and checked this branch out on to a client
> machine.  No changes have been made to the trunk or the branch.
> 
> Attempting to use svn sw to switch back to the trunk I get
> 
> svn: RA layer request failed svn: REPORT request failed on
> /svn/koffice/branches/kpresenter-only svn: REPORT of
> /svn/koffice/branches/kpresenter-only: timed out waiting for server

Um, I think it might be simply that the operation is taking longer
than expected. In 0.14.5, you can specify the timeouts yourself in the
configuration files - so you might try if that solves your issues.

On the other hand, the reason why it takes so long might be huge
memory-usage - but that might also be fixed in 0.14.5. So - either
live with it for a few days until dwhedon manages to make the 0.14.5
Debian packages or upgrade it yourself.

-- Naked


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org