You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Robert Dailey <rc...@gmail.com> on 2008/07/15 14:02:39 UTC

Server running slowly

Hi,

I have a subversion 1.5 server hosted on my Ubuntu Server machine. I'm
currently routing traffic through xinetd via the svn:// protocol.
However, lately it's been taking a VERY long time to do the "svn ls"
command There's about a 5-10 second pause before the files are listed,
and there's only about 7 folders that it's listing. Here's some more
details:

1) Running these commands on the LAN is what is slow, doing things
remotely via the WAN is also slow. Previously, the list command was
blazing fast.
2) Running the "svn ls" command on the linux machine via loopback
works perfectly as I would expect.
3) I ran "svnadmin verify" on my repository just to make sure
everything was OK, and things came back normal.

I'm not sure what else I can do to debug the slowdown. I must have
done something lately for this to happen, but I can't figure out what
that might be. Help is appreciated. Basically, if there's a log file
somewhere I can read or perhaps view some sort of diagnostic that
might be a good start.

Thanks in advance.

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

Re: Server running slowly

Posted by Robert Dailey <rc...@gmail.com>.
On Tue, Jul 15, 2008 at 9:17 AM, Robert Dailey <rc...@gmail.com> wrote:
> On Tue, Jul 15, 2008 at 9:07 AM, Andy Levy <an...@gmail.com> wrote:
>> svnserve doesn't provide logging yet.
>>
>> That it works properly via a loopback (I assume still using svn://),
>> but not via network, suggests to me that there is a network issue and
>> not Subversion itself.
>>
>
> But I can connect to my SSH server just fine... why would that work
> quickly but not the SVN server? I'm not a server expert, so you'll
> have to excuse any ignorance on my part.
>
> I did a little more testing after I posted:
>
> 1) I created a dummy repository and found out that the problem still
> happens, so it must not be repository specific (this was probably
> obvious to begin with, but I wanted to be sure).
> 2) The delay occurs *before* authentication is requested and also
> *after* authentication has been provided.
>
> I am still a bit clueless on how to diagnose the issue. I realize this
> may not be directly related to Subversion, but I don't really know
> where else to ask... I was hoping someone here might be able to
> recognize the issue and know an immediate solution, or at least be
> able to provide some debugging tips.
>
> Thanks again guys.
>

Further updates:

I find that from the WAN it works great, so it must have something to
do with my wireless connection on the LAN. It appears this isn't an
issue at all with subversion, but instead with my network as Andy
pointed out :)

Thanks for your help, Andy.

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

Re: Server running slowly

Posted by Robert Dailey <rc...@gmail.com>.
On Tue, Jul 15, 2008 at 9:07 AM, Andy Levy <an...@gmail.com> wrote:
> svnserve doesn't provide logging yet.
>
> That it works properly via a loopback (I assume still using svn://),
> but not via network, suggests to me that there is a network issue and
> not Subversion itself.
>

But I can connect to my SSH server just fine... why would that work
quickly but not the SVN server? I'm not a server expert, so you'll
have to excuse any ignorance on my part.

I did a little more testing after I posted:

1) I created a dummy repository and found out that the problem still
happens, so it must not be repository specific (this was probably
obvious to begin with, but I wanted to be sure).
2) The delay occurs *before* authentication is requested and also
*after* authentication has been provided.

I am still a bit clueless on how to diagnose the issue. I realize this
may not be directly related to Subversion, but I don't really know
where else to ask... I was hoping someone here might be able to
recognize the issue and know an immediate solution, or at least be
able to provide some debugging tips.

Thanks again guys.

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

Re: Server running slowly

Posted by Andy Levy <an...@gmail.com>.
On Tue, Jul 15, 2008 at 10:02, Robert Dailey <rc...@gmail.com> wrote:
> Hi,
>
> I have a subversion 1.5 server hosted on my Ubuntu Server machine. I'm
> currently routing traffic through xinetd via the svn:// protocol.
> However, lately it's been taking a VERY long time to do the "svn ls"
> command There's about a 5-10 second pause before the files are listed,
> and there's only about 7 folders that it's listing. Here's some more
> details:
>
> 1) Running these commands on the LAN is what is slow, doing things
> remotely via the WAN is also slow. Previously, the list command was
> blazing fast.
> 2) Running the "svn ls" command on the linux machine via loopback
> works perfectly as I would expect.
> 3) I ran "svnadmin verify" on my repository just to make sure
> everything was OK, and things came back normal.
>
> I'm not sure what else I can do to debug the slowdown. I must have
> done something lately for this to happen, but I can't figure out what
> that might be. Help is appreciated. Basically, if there's a log file
> somewhere I can read or perhaps view some sort of diagnostic that
> might be a good start.

svnserve doesn't provide logging yet.

That it works properly via a loopback (I assume still using svn://),
but not via network, suggests to me that there is a network issue and
not Subversion itself.

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