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

Can jobs not be resumed after rebooting? #207

Open
erikbaender opened this issue May 1, 2021 · 4 comments
Open

Can jobs not be resumed after rebooting? #207

erikbaender opened this issue May 1, 2021 · 4 comments
Labels
question Further information is requested

Comments

@erikbaender
Copy link

I suspended some jobs because I had to make a change in the UEFI, and they showed up with status STP as expected. After a reboot plotman can't find those jobs anymore, is that a limitation of plotman or did something go wrong on my end?

@ericaltendorf
Copy link
Owner

ericaltendorf commented May 1, 2021 via email

@altendky
Copy link
Collaborator

altendky commented May 2, 2021

As a bit more, suspend/stop is a general Linux feature. A common exercise of this is when people ctrl+z a foreground process to pause it then later fg to bring it back. I'm not sure what other details there are, but in a simple form anyways it just stops giving cpu time to the process. It makes no attempt to serialize the process to disk so it could be recovered after a reboot. I haven't actually done it, but hibernate is the closest idea I've got to being able to recover a plotting process after power off.

@BasilHorowt
Copy link
Collaborator

@ericaltendorf @altendky any interest in leaving this open as a far flung feature request? I feel like it is squarely in chia's corner and probably out of scope until they support it themselves and am inclined to close

@BasilHorowt BasilHorowt added the question Further information is requested label May 9, 2021
@jwest75674
Copy link

Hey, I've been working on this issue independantly here: https://github.com/jwest75674/chia-suspend

Not sure that my approach fits into the plotman infrastructure, but maybe it can help show how I managed to acheive suspending the plotting process across system shutdowns?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants