EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Semaphore Timeout issue while copying large files to mapped drives

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#13300
Posted: 05/14/2010 00:20:40
by Vivek Titarmare (Basic support level)
Joined: 05/13/2010
Posts: 1

While copying files greater than 40mb(approx) to the mapped drive semaphore timeout error is thrown. The "try again" option in the error throws the same error. At times when "try again" is done it also gives error message "Can not read from source disk". Once "cancel" is done the file shows in the mapped drive but is obviously corrupted and does show some mb in size (may be whatever amount of data that got transferred).

In the previous version of eldos 2.5 we faced the same issue.

Even setting the Timeout parameter to "0" in MountMedia() did not solve the problem.

Will CallbackFileSystem.ResetTimeout help in anyways?

Let us know if you could provide us with some solution or some sample application which will help us solve the issue.
#13302
Posted: 05/14/2010 04:57:59
by Bastian Moldenhauer (Standard support level)
Joined: 06/04/2009
Posts: 40

here is what i did.

each datablocks, usually of the size 64kb, are stored asynchronously in the background. and the thread calling the write callback is blocked until the whole block is finished with uploading. but i do get a notifications for upload progress and in that eventhandling i call "CallbackFileSystem.ResetTimeout".
but be careful with blocking this thread, since this can stop the explorer from working...
if you use c# always specify a reasonable timeout for waiting on a lock.

or you can upload the datablock asynchronously in the background and return immediately from the writecallback. this should work without "CallbackFileSystem.ResetTimeout".

hope that helps
#13303
Posted: 05/14/2010 05:10:42
by Eugene Mayevski (EldoS Corp.)

Vivek , please assign the license ticket to your user account before asking for technical support. The procedure is described in the registration e-mail.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 1833 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!