Closed tedfordgif closed 13 years ago
Do you mean that the tmp directory does not get cleared, i.e. that temporary files remain there permanently? That should not happen.
No, the problem is this:
End result: fileconveyor has queued for sync many partial copies of the file.
This is a clearly a critical problem. I was aware that this problem could pose itself, but clearly this is a case in which it's not just a problem but a very major problem.
Fortunately, this will be addressed by #68! :)
I was surprised when /tmp/daemon filled up my disk partition (causing mysql to stop responding). This happened because my client was uploading new videos to a folder being synced by fileconveyor. I configured fileconveyor with unique_filename.Mtime, so every time the FTP daemon wrote new data to the file, fileconveyor made a copy in /tmp/daemon.
A quick fix is to add a note to the README: don't upload directly to sync folders. A better approach might be to have a delay between change notification and kicking off the processor.