-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uvcdat writing thousands of tempfiles to users' .uvcdat directory #1428
Comments
@doutriaux1 do you want to look into this? It seems to me that .vt files are vistrails files but I could be wrong. |
yes they are vistrails files, I'm not sure what the best way to move forward is here, considering recent development |
@ThomasMaxwell did the user ran the GUI? these files could the provenance files used. If that's the case, we may have to put a workaround for now. |
Yes, the user was using the GUI. These could be provenance files but I don’t know why there would be so many of them. From: Aashish Chaudhary <notifications@github.commailto:notifications@github.com> @ThomasMaxwellhttps://github.com/ThomasMaxwell did the user ran the GUI? these files could the provenance files used. If that's the case, we may have to put a workaround for now. — |
There could be multiple reasons. Vistrails create temporary file for few things. I will see if I can reproduce. |
@chaosphere2112 @rexissimus can one of you take a quick stab at this? |
These are autosave files that are created every 2 minutes. They are deleted when closing uv-cdat. But it could lead to problems when leaving uv-cdat running for long periods of time. In this case it looks like uv-cdat has been running for 2 months? We could fix this by limiting the number of temporary files somehow, but I am not sure this is worth looking into at this point? |
@rexissimus We're shipping a release of the existing GUI, so, yeah, it'd be nice to clean this up. Can you just shove them into /tmp instead of .uvcdat? |
Then you would probably lose the autosave if the machine reboots and /tmp is wiped. I will look into limiting the number of temporary files instead. |
why do we need a new file every two minutes? Can't the new file contain the necessary informations from the previous one and delete the old one? |
Having 2 autosaves may be useful if there is a crash while writing it. Having more could possibly be useful if the loaded file gets corrupted while in memory and you need to restore from some time before. But this is unlikely to happen. I added a fix that limits the files to between 30-60: CDAT/VisTrails#55 |
We have been having problems with uvcdat writing thousands of tempfiles to users' .uvcdat directory and maxing out their disk space. For example, one of our users has found 39500 files (totaling 1.5 GB) of the form: %2Fhome%2Flcarrier%2F.uvcdat%2Funtitled.vt_tmp_9999. Anyone know why this would be happening?
— Tom
The text was updated successfully, but these errors were encountered: