Repo leaks tar files
GoogleCodeExporter opened this issue · 1 comments
GoogleCodeExporter commented
Repo domain doesn't clean up its temp tar files when asked to produce a tar for
a whole directory.
Although they are all emitted into /tmp, they still leak, and over time
accumulate to the detriment of the system.
Problem is I don't know the lifetime of the generated files, have no means of
scheduling a [file delete] when they're no longer useful.
One possible solution would be to generate them into a subdir, then
periodically clean up everything older than some magic age.
Original issue reported on code.google.com by mcc...@gmail.com
on 16 Jan 2011 at 11:52
GoogleCodeExporter commented
Problem solved by generating tar in a thread, deleting it as soon as possible.
Tested on live wiki, seems to work.
Original comment by mcc...@gmail.com
on 17 Jan 2011 at 12:54
- Changed state: Fixed