guydavis / machinaris

An easy-to-use WebUI for crypto plotting and farming. Offers Bladebit, Gigahorse, MadMax, Chiadog and Plotman in a Docker container. Supports Chia, MMX, Chives, Flax, and HDDCoin among others.
Apache License 2.0
340 stars 69 forks source link

Cleanup stale tmp files in tmp2 #173

Closed efnats closed 3 years ago

efnats commented 3 years ago

In Machinaris V0.5 707f600 testing stale *.tmp files don't get cleaned up in tmp2 directory which is used in madmax for plotting in ram. This results in the plotter failing to start.

The issue is related to https://github.com/guydavis/machinaris/issues/7

guydavis commented 3 years ago

Good suggestion. Just added, will be in test version shortly.

ray-su commented 3 years ago

Mine won't delete any tmp files after killing a plotting job. I'm running it in Docker. in Unraid.

guydavis commented 3 years ago

Good suggestion. I've just added this code for

Mine won't delete any tmp files after killing a plotting job. I'm running it in Docker. in Unraid.

Thanks for the report. Looks like a regression in plotman. I'll deal with it in Machinaris. In next release.

guydavis commented 3 years ago

Now available in v0.5.1 release.