Giter Club home page Giter Club logo

Comments (2)

grayfallstown avatar grayfallstown commented on May 21, 2024

Deleting files is not the way to go, here is why:

When you create plots with chia plot create --num 20 you get multiple processes in the same logfile. Deleting the file of the last failed would delete the 19 previously finished plot logs as well, drastically reducing the quality of ETA/Time Remaining as well as warning and error thresholds.

Another problem is that people use various methods to collect their logs from multiple plotting rigs. Very often using scp or rsync in a cron job. Log files that the user would delete via Chia Plot Status would just be deleted locally and reappear after a moment as the cronjob would copy them from the plotting rig again. That would render the delete function useless and the users might not understand why and report this as a bug over and over again.

Same problem when people ask if Chia Plot Status can delete the temp files of a failed process: That would only work locally, not on the 19 other plotting rigs you have as Chia Plot Status has no means of accessing the temp folders of your other plotting rigs. Furthermore Chia Plot Status has not the slightest knowledge which plotting process runs locally and which runs on a different rig.

That are three reason why I don't want Chia Plot Status to delete files.

Solution:

  • Mark the process as dead by clicking on their health status if it is just one dead process
  • Select processes via "Select concerning" or "Select possibly dead" or the checkboxes and then click "Mark selected as dead" if you have many failed processes
  • Check "Hide confirmed Dead"

I have made the filter selection persist between application starts so they stay hidden.

Show in explorer could easily be implemented, won't help you deleting the files tho. Chia Plot Status does not re-read the entire log files every 10 seconds. It reads to the last line and after 10 seconds tries to read the next line to save time and resources. That means the file is kept open by Chia Plot Status and that is why you can't delete them while Chia Plot Status is running. There is a way around it which has its drawbacks and is not recommended to use unless you have no choice: See #40

from chia-plot-status.

grayfallstown avatar grayfallstown commented on May 21, 2024

In the current release

from chia-plot-status.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.