You are not logged in.

#1 2014-11-25 18:33:55

uld
Member
Registered: 2014-11-25
Posts: 3

Slow svn performance for svn:// style links

I have a large collection of scripts out my control. One of the things they do, is call svn with links in form  "svn://...".

The problem is, that calling:

 svn info "svn://..."  

stops everything for 2 minutes and then starts authentication with ssh.

Calling directly:

 svn info "svn+ssh://.." 

takes less then a second.

What could be the problem? I don't see the same problem in other centos systems so it must be something with the newer subversion.

Does anyone has any ideas what's happening (or not happening)?

Offline

#2 2014-11-25 19:01:21

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Slow svn performance for svn:// style links

Use strace to find out what svn is doing or waiting for

Offline

#3 2014-11-26 07:37:42

uld
Member
Registered: 2014-11-25
Posts: 3

Re: Slow svn performance for svn:// style links

I check strace, noticed, that it was timing out on polls on the ip of the svn repo. That seemed strange.
In the end I found that adding this:

#/etc/hosts
127.0.0.1   <myhostname> 

fixed it.. no clue why.

Offline

Board footer

Powered by FluxBB