Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Gracefully close miner application #322

Open
mvastarelli opened this issue Jun 11, 2022 · 0 comments
Open

Gracefully close miner application #322

mvastarelli opened this issue Jun 11, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@mvastarelli
Copy link
Contributor

When stopping the miner application, it is terminated by sending the SIGKILL to all processes with the same name. This is problematic for two reasons.

  1. If there are other miners running on the system (there shouldn't, but it's not impossible) they will be terminated as well.
  2. Any GPU-specific settings (e.g. locking GPU core clock) will not be reset.

To fix we need to look into other ways of halting the process cleanly. For example, we should look into hooking into STDIN and sending CTRL+C to the process window instead.

@mvastarelli mvastarelli added the bug Something isn't working label Jun 11, 2022
@mvastarelli mvastarelli added this to the Backlog milestone Sep 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant