Vault Client is slow connecting to the server first time

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
jfuex
Posts: 36
Joined: Thu Dec 06, 2007 7:12 pm
Location: Austin, Texas

Vault Client is slow connecting to the server first time

Post by jfuex » Mon Feb 07, 2011 11:30 am

Having an issue recently with the SourceGear client.

The first time I connect to our Vault server from the Vault client application each day it takes several minutes to make the connection and load the tree of files. After I connect, everything seems to operate at normal speed, and I can even close the app and re-open it and performance remains fine until I reboot the machine.

The other developers on my team are running against the same installation with the same OS and version of the client software and don't experience the same behavior, so I am wondering if there might be a configuration option on the client or some other machine configuration that could cause the connection to be slow, but only the first time you open it.

Do you have any suggestions for where to look for the source of this problem? Is there something going on in the startup that is cached and persists for a windows session that I could troubleshoot?

A few minutes once a day isn't a huge deal, but the fact that it is only happening to me on our installation makes me think something is wrong.

Relevant Info:
Windows 7 - 32 Bit
Vault client is version 5.0.4.18845
Vault server is version 5.0.3.18802

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Vault Client is slow connecting to the server first time

Post by lbauer » Mon Feb 07, 2011 11:50 am

It could have something to do with the client-side cache.

Just as test, try renaming the Vault cache folder.

Depending on your OS, find the path

C:\Users\username\AppData\Local\Sourcegear\Vault_1
or
C:\Documents and Settings\<userprofile>\Local Settings\Application Data\SourceGear\Vault_1


rename the entire Vault_1 folder.

Does it still take a long time to log in?
Linda Bauer
SourceGear
Technical Support Manager

jfuex
Posts: 36
Joined: Thu Dec 06, 2007 7:12 pm
Location: Austin, Texas

Re: Vault Client is slow connecting to the server first time

Post by jfuex » Mon Feb 07, 2011 3:01 pm

That did the trick. Thanks!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Vault Client is slow connecting to the server first time

Post by lbauer » Tue Feb 08, 2011 8:39 am

If, after the cache has built up again, you still get slow logins, change the setting in the Vault GUI Client under Tools->Options->Network Settings->Request database delta on repository cache miss.

If this is checked, uncheck it, or if it's not checked, check it. See if that helps.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply