Size limit for files?

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

Moderator: SourceGear

Post Reply
jmlange
Posts: 32
Joined: Tue Jul 13, 2004 8:56 am

Size limit for files?

Post by jmlange » Fri Dec 12, 2008 11:49 am

We are using Vault 4.1.

Some users are reporting Vault timeout errors when the files that they are trying to upload are bigger than usual. The current example file (that I've been using to reproduce their problem) is 30.7Mb.

Is there a size parameter that can be changed in the configuration?

The error that the Vault client is reporting is :

[12/12/2008 11:07:19 AM] Upload for item $/xxx.xxxx failed too many times, aborting transaction.
Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.
The specific error was "The operation has timed out"
An exception was encountered during the transaction. Exception: The operation has timed out at System.Net.HttpWebRequest.GetResponse()
at VaultClientOperationsLib.ClientInstance.UploadItem(ChangeSetItem item, String txID, Byte[]& streamBuffer, Int32& bytesWrittenThisFile, Boolean bIsImport)
at VaultClientOperationsLib.UploadThread.ProcessCommand(UploadThreadCommand command, UploadThreadCommandResult& outputResult)
[12/12/2008 11:07:21 AM] Transaction failed
[12/12/2008 11:07:24 AM] Transaction failed

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

Re: Size limit for files?

Post by lbauer » Sat Dec 13, 2008 9:33 pm

What's the server log reporting? The Vault server log is sgvault.log and is in %windir%\temp\sgvault on the server machine.
Linda Bauer
SourceGear
Technical Support Manager

jmlange
Posts: 32
Joined: Tue Jul 13, 2004 8:56 am

Re: Size limit for files?

Post by jmlange » Mon Dec 15, 2008 2:09 pm

The only thing in that server log for that same date/time are login/logout records. Can I turn on additional logging in that server log file? Would there be benefit to me sending you that file?

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

Re: Size limit for files?

Post by lbauer » Mon Dec 15, 2008 4:05 pm

It might help -- although it's possible the upload isn't getting to the server.

You can set debug logging in the Vault Admin Web Client, under Server Settings->Logging.
Linda Bauer
SourceGear
Technical Support Manager

jmlange
Posts: 32
Joined: Tue Jul 13, 2004 8:56 am

Re: Size limit for files?

Post by jmlange » Mon Dec 15, 2008 5:00 pm

After turning on debug logging at the server and trying that file upload again (again with failure), here are the records in the server log:

----12/15/2008 4:09:57 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Beginning SQL transaction 37831248
----12/15/2008 4:09:57 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled SQL transaction 37831248 successfully committed.
----12/15/2008 4:09:57 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Login
----12/15/2008 4:09:57 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetUserOptions returned: Success
----12/15/2008 4:09:57 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetUserList returned: Success
----12/15/2008 4:09:57 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Success
----12/15/2008 4:09:58 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetRepositories returned: Success
----12/15/2008 4:10:14 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Getting repository Structure-> Rep ID: 1 Base: 72361 Target: -1
----12/15/2008 4:10:14 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled TreeManager: Filling empty cache with current tree.
----12/15/2008 4:11:04 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:70 RepID:1 Base:72361 Target:72395 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----12/15/2008 4:11:07 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled VaultServiceAPI::PrepareTreeDeltaForTransport() nNumDeltaNodes:26272 Base:0 Target:72395
----12/15/2008 4:11:09 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetRepositoryStructure returned: Success
----12/15/2008 4:11:09 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled VaultFileDownload starting
----12/15/2008 4:11:15 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetLatest wrote 0 bytes to the Response Stream
----12/15/2008 4:11:16 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Ending download process
----12/15/2008 4:11:16 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled EndDownloadProcess returned: Success
----12/15/2008 4:11:16 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Getting list of checkout changes.
----12/15/2008 4:11:16 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Beginning SQL transaction 45109764
----12/15/2008 4:11:16 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetCheckoutListChanges: Transaction Started
----12/15/2008 4:11:16 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 72395
----12/15/2008 4:11:16 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled VaultServiceAPI::GetCheckoutListChanges() Status:0 UserID:70 RepID:1 FolderSecurity:True BaseList:87601 Target List:87653 RefreshFlag:False
----12/15/2008 4:11:16 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled SQL transaction 45109764 successfully committed.
----12/15/2008 4:11:16 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetCheckoutListChanges: Transaction Committed
----12/15/2008 4:11:16 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetCheckOutListChanges returned: Success
----12/15/2008 4:11:17 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetUserEmailOptions returned Success
----12/15/2008 4:11:17 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 72395
----12/15/2008 4:11:17 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled ListWatchers returned Success
----12/15/2008 4:11:18 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled ListCloakedObjects returned: Success
----12/15/2008 4:11:18 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetRepositoryOptions returned: Success
----12/15/2008 4:11:19 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetRepositories returned: Success
----12/15/2008 4:21:54 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled BeginTx beginning transaction
----12/15/2008 4:21:54 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 72395
----12/15/2008 4:21:54 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled (a9487f90-67a4-4956-a98f-79303a10d905) BeginTx returned: Success
----12/15/2008 4:21:54 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled (a9487f90-67a4-4956-a98f-79303a10d905) AddFile: $/To Be Moved/DCSS/ESP/CCTRISMapping.zip returned: Success
----12/15/2008 4:22:04 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Receiving an uploaded file.
----12/15/2008 4:32:11 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Receiving an uploaded file.
----12/15/2008 4:32:24 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled VaultFileUpload.aspx encountered: Success
----12/15/2008 4:42:11 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Receiving an uploaded file.
----12/15/2008 4:42:51 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled VaultFileUpload.aspx encountered: Success
----12/15/2008 4:51:57 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Ending transaction
----12/15/2008 4:51:57 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled EndTx(): Client aborted the transaction.
----12/15/2008 4:51:57 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled (a9487f90-67a4-4956-a98f-79303a10d905) EndTx (Revision - 0) returned: Success
----12/15/2008 4:52:00 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Getting repository Structure-> Rep ID: 1 Base: 72395 Target: -1
----12/15/2008 4:52:00 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 72396
----12/15/2008 4:52:00 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:70 RepID:1 Base:72395 Target:72396 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----12/15/2008 4:52:00 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetRepositoryStructure returned: Success
----12/15/2008 4:52:04 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Getting list of checkout changes.
----12/15/2008 4:52:04 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Beginning SQL transaction 36717157
----12/15/2008 4:52:04 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetCheckoutListChanges: Transaction Started
----12/15/2008 4:52:04 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 72396
----12/15/2008 4:52:04 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled VaultServiceAPI::GetCheckoutListChanges() Status:0 UserID:70 RepID:1 FolderSecurity:True BaseList:87653 Target List:87654 RefreshFlag:False
----12/15/2008 4:52:04 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled SQL transaction 36717157 successfully committed.
----12/15/2008 4:52:04 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetCheckoutListChanges: Transaction Committed
----12/15/2008 4:52:04 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetCheckOutListChanges returned: Success
----12/15/2008 4:52:08 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Getting repository Structure-> Rep ID: 1 Base: 72396 Target: -1
----12/15/2008 4:52:08 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 72396
----12/15/2008 4:52:08 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:70 RepID:1 Base:72396 Target:72396 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----12/15/2008 4:52:08 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetRepositoryStructure returned: Success
----12/15/2008 4:52:10 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Getting list of checkout changes.
----12/15/2008 4:52:10 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Beginning SQL transaction 33518558
----12/15/2008 4:52:10 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetCheckoutListChanges: Transaction Started
----12/15/2008 4:52:10 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled SQL transaction 33518558 successfully committed.
----12/15/2008 4:52:10 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetCheckoutListChanges: Transaction Committed
----12/15/2008 4:52:10 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled GetCheckOutListChanges returned: Success
----12/15/2008 4:53:24 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled VaultFileUpload.aspx encountered: Success

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

Re: Size limit for files?

Post by lbauer » Wed Dec 17, 2008 1:28 pm

----12/15/2008 4:42:11 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Receiving an uploaded file.
----12/15/2008 4:42:51 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled VaultFileUpload.aspx encountered: Success
----12/15/2008 4:51:57 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled Ending transaction
----12/15/2008 4:51:57 PM jmlange--adsl-70-230-171-48.dsl.stlsmo.sbcglobal.net(70.230.171.48)--SSL Disabled EndTx(): Client aborted the transaction
Looks like the problem is client-side. In the Vault GUI Client under Tools->Options->Network Settings, is "use chunked encoding" checked? If so, uncheck it. If it is not checked, check it to see if that makes a difference.
Linda Bauer
SourceGear
Technical Support Manager

jmlange
Posts: 32
Joined: Tue Jul 13, 2004 8:56 am

Re: Size limit for files?

Post by jmlange » Wed Dec 17, 2008 4:06 pm

I changed that setting and tried the file upload again. While it definitely ran differently it still failed. It got to 92% and then hit the apparent 10-minute time limit on the client and it failed.

Is that 10-minute limit something that can be changed at the client?

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

Re: Size limit for files?

Post by lbauer » Thu Dec 18, 2008 9:21 am

Yes, you can change the timeout if you upgrade to Vault 4.1.4 (it's a free upgrade from 4.1).

The setting is in the registry: HKEY_CURRENT-USER\Software\SourceGear\Vault\Client\Settings

Look for UploadTimeoutSeconds

Other timeout values that can be adjusted are:

ServiceRequestTimeoutSeconds
DownloadTimeoutSeconds
Linda Bauer
SourceGear
Technical Support Manager

jmlange
Posts: 32
Joined: Tue Jul 13, 2004 8:56 am

Re: Size limit for files?

Post by jmlange » Thu Dec 18, 2008 9:30 am

Can I upgrade *my* client to 4.1.4 without anyone else here in the company upgrading? I want to try this out before I have our users do the same.

I'm a bit concerned about asking our users to regedit to make this change.

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

Re: Size limit for files?

Post by lbauer » Thu Dec 18, 2008 3:13 pm

We generally recommend client and server match for best results, but you should be able to test this, as a 4.1.4 client can connect to a 4.1 server.
Linda Bauer
SourceGear
Technical Support Manager

jmlange
Posts: 32
Joined: Tue Jul 13, 2004 8:56 am

Re: Size limit for files?

Post by jmlange » Sat Dec 20, 2008 6:12 pm

Thank you! Installing version 4.1.4 of the client and changing that registry setting did the trick.

I am making plans to have all of our users upgrade their Vault clients to 4.1.4 and I'll upgrade the server at that same time.

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

Re: Size limit for files?

Post by lbauer » Mon Dec 22, 2008 10:36 am

Thanks for the update. That's good news. : )
Linda Bauer
SourceGear
Technical Support Manager

Post Reply