Skip to content
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

Feature req: Add 'Cleanup' button to clean up failed plots #7

Closed
Allram opened this issue May 14, 2021 · 5 comments
Closed

Feature req: Add 'Cleanup' button to clean up failed plots #7

Allram opened this issue May 14, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@Allram
Copy link

Allram commented May 14, 2021

Add a button that cleans/empties drives/folders used for plotting.
This is especially useful when you update docker or restart it and need to restart plots that is then marked as failed and is just taking up space on the HDD's.

@guydavis guydavis self-assigned this May 14, 2021
@guydavis guydavis added enhancement New feature or request question Further information is requested labels May 14, 2021
@guydavis
Copy link
Owner

Hi! I just released v0.2 which adds a 'Kill' button to the WebUI for plots. It invokes Plotman's kill function which actually does clean-up all associated temp files for the plot being killed. Sound good?

@guydavis
Copy link
Owner

Closing this as 'Kill' button to clean up a plots temporary files is sufficient for now.

@guydavis
Copy link
Owner

Re-opening as there is case where a restart of container without Kill of plots first leaves temp files behind. Perhaps this check could be tied into the 'Plot On!' button to check/confirm/delete before starting a plotting run again.

@guydavis guydavis reopened this May 30, 2021
@guydavis
Copy link
Owner

I've added a cleanup of any stale *.tmp files in temporary storage locations when starting Plotman in Machinaris AND no current plotting jobs are running or stopped.

Will be available in Machinaris test version later today, then full release next week or so. Thanks!

@efnats
Copy link

efnats commented Jul 13, 2021

Stale *.tmp files don't get cleaned up in tmp2 directory which results in the plotter not starting.

guydavis pushed a commit that referenced this issue Feb 16, 2024
Merge Achi from develop to integration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants