Giter Club home page Giter Club logo

Comments (7)

grayfallstown avatar grayfallstown commented on May 21, 2024 1

Health check is considering phase statistics now, so you get earlier warnings on faster systems with fast SSDs than slow systems with HDDs and also considers Mixed SSDs/HDDs for different plots on the same system.
This requires existing finished plotlogs or it goes down to a diced default (not sure what values should be used yet).

Will be in the next version

from chia-plot-status.

TormodSan avatar TormodSan commented on May 21, 2024

Great feature - but should take into account phases.
e.g. in Phase 2
sorting table 6
sort time = 841.420 seconds. CPU (61.400%) Mon May 3 15:47:01 2021

there is no logging for 841 secs

from chia-plot-status.

grayfallstown avatar grayfallstown commented on May 21, 2024

Good Idea
Currently still testing the timings

from chia-plot-status.

grayfallstown avatar grayfallstown commented on May 21, 2024

The user must be able to confirm a dead process.

Chia Plot Status can never be sure if the process is dead. Locally (and with admin rights) it could potentially check running processes and their file handles and check is the process this belongs to is still running, but Chia Plot Status is for multiple remote plotting rigs as well and we cannot do that via network share.

The user should still be able to get rid of dead logs without deleting the files as create plot --num 18 can log all plots to the same file, depending how it is set up.

Thats why PlotLog needs an index telling this is the n-th log in the given file.
Then we can hide the 7th log in file b73b03ce-acba-11eb-8529-0242ac130003.log from folder rig-2 without throwing out the other logs as well, since finished plotlogs are needed to ETA and HealthCheck.

User should right click on a line and click "hide" or "confirm dead".

Which logs are hidden should be persisted in the users config file.

A different approach would be to have a watchdog on each plotting rig collecting the logs and watching the processes like described in the second paragraph and continously sends the logs and status to the monitor system (the pc running chia plot status GUI). Then we would know more and the user does not have to setup either a network share or a different approach to get to the logs of all his rigs. Again, this requires admin/root access and I do not want that for now but could be a future addition. Kubernetes did this last time I worked with it and its a common approach for distributed systems.

from chia-plot-status.

grayfallstown avatar grayfallstown commented on May 21, 2024

If last line is Final File size: 101.367 GiB and final dir != tmp2 a 100 GB file is copied without logging a thing. This takes a while and currently this can cause a possibly dead warning.
Ticket 184 in chiapos would fix that, but no idea when that is implemented

from chia-plot-status.

grayfallstown avatar grayfallstown commented on May 21, 2024

The user must be able to confirm a dead process.

The logic is implemented, gui part is still missing

from chia-plot-status.

grayfallstown avatar grayfallstown commented on May 21, 2024

You can now confirm the death of a plotting process and then filter them out

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.