|Subject:||Chunk and temp files in Syncrify|
|Creation date:||6/2/11 7:13 AM|
|Last modified on:||7/11/11 3:39 PM|
What are .chunk and .tmp files
On several occasions Syncrify needs to create temporary files. These temporary files are created in the $TEMP folder on your machine. The exact location of this folder is OS dependent. For example, on Windows this could be C:\Windows\Temp and on Linux this could be /tmp.
If a backup completes successfully, Syncrify should remove every temporary file that it creates. However, in case of an error these files are not deleted until the Syncrify server process terminates. Consider the following example:
- Client sends a file that is 10 GB in size. This file does not come to the server in one piece but in several chunks.
- Every time the server receives a chunk it appends the incoming data to this temporary file.
- Finally, when the entire file comes over, it moves this file from this temporary location to its final location
- If the client does not send the entire file successfully, which can occur due to a network problem, the server does not know when to delete the temporary file and therefore, it stays there for a longer period of time.
IMPORTANT: Starting from build 517, Syncrify does not create a .chunk file when a file is loaded for the first time. This reduces the number of lingering .chunk files in the TEMP folder.
Can I delete these files?
Yes you can. However, make sure you only delete files that are in use by Syncrify. A good practice is to remove files that are older than 24 hours, which will ensure the file is not longer in use.
Posted by john on 12/17/12 8:26 AM
I have chunk files that never dissappear, just keep multiplying. Why do these continue to remain?
Posted by Jason on 10/17/12 12:00 PM
Hi -- Is it possible for this cache to be stored in an alternate location in Wndows systems? These files filled up space on a test system's C: drive and caused some critical processes to stop due to lack of space.
However, there are larger volumes on that machine which could handle these large files.
Would installing the Syncrify client to the alternate drive fix it / workaround?
Add a comment to this document
Do you have a helpful tip related to this document that you'd like to share
with other users? Please add it below. Your name and tip will appear at the
end of the document text.