WyvernTKC / cpuminer-gr-avx2

Optimised Version of GR miner for RTM
GNU General Public License v2.0
371 stars 193 forks source link

Miner doesn't stop after terminal window close [Ubuntu 20.04] #114

Closed nzkozar closed 3 years ago

nzkozar commented 3 years ago

I'm looking for a way to stop mining. Simply closing the terminal window doesn't do the job as the CPU load remains at 100% and also starting a new cpu miner instance will fail. Ctrl+C, Ctrl+D doesn't have any effect. I was also unable to identify any process associated with the CPU load, to shut that down.

So how can I safely shut down the miner, without restarting the machine? (I couldn't find anything on this in the documentation)

nzkozar commented 3 years ago

[FIXED] Ctrl+C works, just had to disable my terminal shortcuts

michal-zurkowski commented 3 years ago

Normal Ctrl+C should work without any issues unless you did some changes to the terminal or run it in the background. In those cases killing the process directly would probably be the best option. You can do it with sudo pkill cpuminer