Watchdog.
Closed this issue · 6 comments
Hi, would be possible to implement a watchdog to reset itself if it gets stucked?
Hi! Post here the logs next time it happens
So, this morning, was frozen. The bold line is the last line I could see this morning. After pressing Enter on the cmd windows, the miner continued reseting itself.
[2022-04-19T23:15:57Z INFO kaspa_miner::miner] Current hashrate is: 1.16 Ghash/s
[2022-04-19T23:16:07Z INFO kaspa_miner::miner] Current hashrate is: 1.13 Ghash/s
[2022-04-19T23:53:42Z INFO kaspa_miner::pow] Found a block: 68201753dd4c78c13296fb844f4ab1bf54126d3aa71ada4a5f9c278adb0f1513
[2022-04-19T23:53:42Z INFO kaspa_miner::miner] Closing miner
[2022-04-20T02:09:16Z INFO kaspa_miner::pow] Found a block: 1f86c3107120033c6b01e33aa7c3732931939c1cf55b19410fc9f69bde8b3db0
[2022-04-20T03:43:18Z ERROR kaspa_miner::miner] Failed submitting block: (channel closed)
[2022-04-20T08:03:52Z INFO kaspa_miner::miner] Current hashrate is: 1.21 Thash/s
[2022-04-20T08:03:52Z ERROR kaspa_miner] Client closed with error SendError(KaspadMessage { payload: Some(GetBlockTemplateRequest(GetBlockTemplateRequestMessage { pay_address: "kaspa:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", extra_data: "0.2.1-GPU-0.6/2204181211" })) })
[2022-04-20T08:03:52Z INFO kaspa_miner] Client closed, reconnecting
[2022-04-20T08:03:52Z INFO kaspa_miner::miner] launching: 0 cpu miners
[2022-04-20T08:03:52Z INFO kaspa_miner::client::grpc] Kaspad version: 0.12.0
[2022-04-20T08:03:52Z INFO kaspacuda::worker] Starting a CUDA worker
[2022-04-20T08:03:52Z INFO kaspa_miner::client::grpc] Registered for new template notifications
[2022-04-20T08:03:52Z INFO kaspacuda::worker] Starting a CUDA worker
I think it is a windows console issue. Can you try the solution suggested here?
https://stackoverflow.com/a/33883532/3051715
(It freezes the main thread, and when it returns, it shows you all the hash it tried while program was frozen - 1.21 Thash)
Makes sense, I will try it.
Thanks for helping.
I disabled Quick-Edit through the program in e560013 . Can you test if it fixes for you?
No activity. Presumed fixed.