You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by d....@gmx.net on 2012/01/25 10:43:05 UTC

Checkout slow without proxy

Hello,

we are using heavily "svn:externals" on our repositories.
A full checkout of a typical repository takes 20 Minutes. If I configure a HTTP-Proxy in my subversion-client it takes only 13 Minutes...

We are accessing our repository over an apache via https - due to the https-Connection no cache-hits should occour.
How is it possible that a connection over a additional station is faster than a direct connection? 
I see also connections in "FIN_WAIT2"-State on the Server - can they slow down the checkout of the next external?

We are using Subversion 1.5.1 on Apache 2.2 on the server-side (the Subversion-Server is not public availabe).
I've tested with a Subversion-Client 1.7.1.

Thanks in advance.

Rgds.
Dieter
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

Re: Checkout slow without proxy

Posted by Les Mikesell <le...@gmail.com>.
On Thu, Jan 26, 2012 at 3:55 AM,  <d....@gmx.net> wrote:
> I think the reason is somewhere at the connection-specific configuration of apache in interaction with the behaviour of the subversion-client (which may has also connection-options...?).
>
> I suspect the KeepAlive-Handing... it seems that the subversion-client closes its connection between checking the different "externals" (which are on the same server) and the server keeps the connection opened and waits for further data. Until the connection is finally closed by timeout the server does NOT handle the request regarding the next "external".
>
> I don't have a clue why the server simply isn't accepting a second connection for the same client while the first connection is waiting for its timeout...
> I think one of the following options can affect this behaviour, but I'm still searching for an option which sounds like "ConnectionsPerClient":
> MaxRequestsPerChild
> KeepAliveTimeout
>
> Note: We are using a https-Connection.

I don't think apache has any connections-per-client restriction as
long as you have available children to accept them.   Are you sure
this isn't some more subtle delay on new connections, like being
configured for reverse-DNS lookups for logging and timing out on the
DNS request?  The proxy might be better at holding the connection with
keep-alives or maybe it is in an IP range where the reverse-lookup
either works or fails quickly with an icmp reject instead of a
timeout.

-- 
   Les Mikesell
     lesmikesell@gmail.com

Re: Checkout slow without proxy

Posted by d....@gmx.net.
I think the reason is somewhere at the connection-specific configuration of apache in interaction with the behaviour of the subversion-client (which may has also connection-options...?).

I suspect the KeepAlive-Handing... it seems that the subversion-client closes its connection between checking the different "externals" (which are on the same server) and the server keeps the connection opened and waits for further data. Until the connection is finally closed by timeout the server does NOT handle the request regarding the next "external".

I don't have a clue why the server simply isn't accepting a second connection for the same client while the first connection is waiting for its timeout...
I think one of the following options can affect this behaviour, but I'm still searching for an option which sounds like "ConnectionsPerClient":
MaxRequestsPerChild
KeepAliveTimeout

Note: We are using a https-Connection.



-------- Original-Nachricht --------
> Datum: Wed, 25 Jan 2012 14:35:33 -0600
> Von: Ryan Schmidt <su...@ryandesign.com>
> An: d.guthmann@gmx.net
> CC: users@subversion.apache.org
> Betreff: Re: Checkout slow without proxy

> 
> On Jan 25, 2012, at 03:43, d.guthmann@gmx.net wrote:
> 
> > We are using Subversion 1.5.1 on Apache 2.2 on the server-side
> 
> As a first step, you should upgrade the Subversion software on your
> server. Subversion 1.5.x and earlier are not supported anymore.
> 
> http://subversion.apache.org/docs/release-notes/1.7.html#svn-1.5-deprecation
> 
> 

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

Re: Checkout slow without proxy

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 25, 2012, at 03:43, d.guthmann@gmx.net wrote:

> We are using Subversion 1.5.1 on Apache 2.2 on the server-side

As a first step, you should upgrade the Subversion software on your server. Subversion 1.5.x and earlier are not supported anymore.

http://subversion.apache.org/docs/release-notes/1.7.html#svn-1.5-deprecation