Check in Folder takes a long time

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

Moderator: SourceGear

Post Reply
rshillington
Posts: 42
Joined: Mon Feb 16, 2004 6:10 am

Check in Folder takes a long time

Post by rshillington » Tue May 04, 2004 6:54 am

Using Version 2.0.0 (2120)

Throughout the day, I have to check out a folder of about 166 files. I use the vault client and the check out happens fast enough (about 5 seconds)

I then run a my code generator which will re-write all 166 files, ususally leaving the final content exactly the same, but with a certain number of files updated.

I then check in the folder, using the vault client, and here's where the slow down happens. It seems to undo the check out on all the files that have not changed and check in the few files that have changed. This process takes about 5 seonds per file (according to the messages pain)

Is it acutally doing a diff of my local file to the repository to determine if a check-in or undo check-out is required?

Is there anything that I can do to speed up this process.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Tue May 04, 2004 7:35 am

This is a known problem that will be fixed in an upcoming 2.0.3 release.

It does check to see whether a file has actually been modified before it checks it in, so it can do an Undo checkout if your option is set that way. What takes so long, though, is that it performs each undo checkout separately, rather than undoing them all at once.

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Tue May 04, 2004 7:37 am

The undo check out durring commit/check in is slow in all versions of Vault previous to 2.0.3 because of a bug where the client requests an updated check out list after each one. 2.0.3 will be released soon. Until then, if you know which files aren't really changed, you can undo them manually (or not select them for check in). You could also change your Vault option "Check in unchanged files" to be "Check in" instead of "Undo check out". This will create new versions in the repository for the unmodified files, and skip the undo process.
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

pfoley
Posts: 9
Joined: Tue Feb 03, 2004 7:59 pm

Other bad slowdowns

Post by pfoley » Tue May 04, 2004 9:20 am

I also have been experiencing slowdowns that could be perceived as hangs - except I see network activity. Is that related?

Frequently when I attempt to get by label, Vault will slow to a crawl (with no UI feedback). Sometimes only rebooting will solve the problem. Is this a known bug that 2.0.3 addresses?

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Tue May 04, 2004 10:28 am

Get by label would be unaffected by the "undo checkout during commit" bug. Is there any network activity during your "hang?" Is the server's CPU usage high during this period?
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

pfoley
Posts: 9
Joined: Tue Feb 03, 2004 7:59 pm

Post by pfoley » Tue May 04, 2004 11:48 am

sterwill wrote:Get by label would be unaffected by the "undo checkout during commit" bug. Is there any network activity during your "hang?" Is the server's CPU usage high during this period?
Slight network activity - very low CPU usage

pfoley
Posts: 9
Joined: Tue Feb 03, 2004 7:59 pm

Post by pfoley » Tue May 04, 2004 11:55 am

sometimes "hangs" when doing show labels, sometimes during get by label before the confirmation dialog and sometimes after the confirmation dialog.

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Tue May 04, 2004 1:02 pm

Is your connection to the server on a fast or slow link? If the CPU usage on the client is also low (as it should be, since it's just waiting on the server) you might try turning on debug logging on the Vault server, in order to see which web methods are taking a long time to execute. To do this, edit the Vault.config file where the web service is installed, and change the "LogLevel" setting's value to "Debug" (from its usual "Quiet"). Then run "iisreset" on the server. Now the Vault server log will include more details about which methods are called.
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

Guest

Post by Guest » Tue May 04, 2004 1:13 pm

Fast (local)

I'll add the line to Vault.config.

Can you tell me where the Vault server log is located? Is there documentation that explains how to debug/manage the server (log meanings, etc.)?

Thanks.

Guest

Post by Guest » Tue May 04, 2004 1:20 pm

Found the log file - still interested in the documentation.

Post Reply