Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Miner keeps mining (wasting power) even when connection lost #734

Closed
madscientist159 opened this issue Feb 12, 2018 · 11 comments
Closed

Miner keeps mining (wasting power) even when connection lost #734

madscientist159 opened this issue Feb 12, 2018 · 11 comments

Comments

@madscientist159
Copy link

When the pool connection goes down the miner should stop mining instead of wasting power.

@piotr-dobrogost
Copy link

Duplicate of issue #707 which is a duplicate of issue #651 which is a duplicate of issue #632.
I suggest to choose one of these and close all others as duplicates.

@madscientist159
Copy link
Author

madscientist159 commented Feb 13, 2018

#632 is a different issue. This issue is about stopping mining when the pool itself goes down or can't be reached (bad connectivity), not about power wastage when the GPU crashes / fails.

@gashtal
Copy link

gashtal commented Feb 15, 2018

Duplicate of issue #707 which is a duplicate of issue #651 which is a duplicate of issue #632.
I suggest to choose one of these and close all others as duplicates.

Actually none of those issue have anything to do with this ticket since those issues involve cases where ethminer is "pretending to mine while it is not" while this issue points to a case where ethminer "has failed to connect to the pool, and is claiming that it is not mining, but still keeps doing so". I previously reported a similar observation in the following ticket:

#672

ethminer really needs an exit option for cases involving internet or pool connectivity issues.

@mrbrendanhamm
Copy link

I had the same issue with 0.13.0. Compiling the binaries myself seemed to fix the issue.

@DeadManWalkingTO
Copy link
Contributor

The issue have been fix.
I think this issue can be closed.

@madscientist159
Copy link
Author

@DeadManWalkingTO Do you have the GIT commit hash that fixes this issue?

@smurfy
Copy link
Collaborator

smurfy commented Feb 27, 2018

It has'n fixed. But reconnecting has been improved.

@madscientist159
Copy link
Author

@smurfy That doesn't help when the remote host goes down for maintenance or the Internet link fails (e.g. when someone's on a lousy cable connection and the link fails for 24-48 hours). Why should they waste their power in these situations?

Anyway, just saying that this issue should not be closed until it is fixed.

@smurfy
Copy link
Collaborator

smurfy commented Feb 27, 2018

Its not our choice. the problem currently is that stopping miner can crash ethminer. so its currently disabled

@madscientist159
Copy link
Author

@smurfy then a reasonable workaround would be an "exit-on-disconnect" flag, to allow people to script their own miner recovery if they consider wasting electricity more important than possibly needing to restart their rig when the link comes back up.

@MariusVanDerWijden
Copy link
Collaborator

@madscientist159 with #757 I introduced the new parameter --exit which stops the miner whenever an error occured

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants