AnkhSVN entries are very slow

I recently had to move my SVN repositories to another server, but I have been experiencing some performance issues since the transition.

I am using Visual Studio 2005, AnkhSVN 2.1.7819.411 and TortoiseSVN 1.6.6 on my workstation and VisualSVN Server on a server running Windows Server 2008.

Whenever I try to commit a file or view the history of files in Visual Studio, it takes twenty seconds.

I confirmed that an exception was made for the VisualSVN Server on the server firewall, but when I turn off the server firewall, the performance returns to normal (1-2 seconds to commit). When I do a commit or check the log in a file in TortoiseSVN, performance is also great.

To ensure that the problem is not related to moving repositories, I run these tests against the new repository that was created on the new server.

So, I believe that the problem lies in AnkhSVN, but I am at a loss how to diagnose it further.

Any help would be greatly appreciated.

+2
source share
3 answers

What hostname are you using to connect to your server?

Does this resolve the IPv6 hostname and IPv4 address? ( http: // localhost does this on Windows Vista and later.)

The subversion used by AnkhSVN (SharpSvn) is IPv6 enabled, so it will try IPv6 before IPv4 if the host resolves both types of addresses.

You can try if this is a problem by running

ping <hostname> 

on the command line. If the host is IPv6 enabled, you should see IPv6 addresses there. And if not, then just plain IPv4 addresses.

If you use https: // to connect to your host, you may see the problem : If AnkhSVN uses neon 0.29.0-.0.29.2 3 (see Help-> About), neon has performance regression from earlier versions that are still used by some other clients.

Neon 0.29.0-0.29.2 try to close https connections in another way, which slows down if you use a proxy server or a server without Apache that handles the connection and closes in another way. This issue was resolved in version neon 0.29.3, which is available in later versions of AnkhSVN.

+6
source

I had the same problem. Thanks Burt for pointing me in the right direction! But this is repeated here because I don't think Burt really explained this in his answer:

Decision. If your computer allows AnkhSVN host using IP6, create your IP4 file for it in the hosts file.

+3
source

On my internal server running Windows 7. I just disabled IPv6 and it worked fine. No delay in committing. Here are the detailed instructions.

1) right-click the network icon 2) open network access 3) In the "View active subnets" section, click the "Connections: Local Area Connection" link (default name). The connection properties window appears. 4) Click the "Properties" button. 5) Uncheck IPv6. Click OK.

Ps, love Ankh. For everyone who is not sure, it integrates perfectly with Visual Studio and better than VisualSVN. my 2 cents.

+2
source

Source: https://habr.com/ru/post/1309066/


All Articles