Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: twicx on January 30, 2018, 10:16:40 PM



Title: Problem with sgminer
Post by: twicx on January 30, 2018, 10:16:40 PM
Sgminer has a habit of quitting after one or two attempts to reconnect to the stratum, in the event of a connection loss for example. I've gone through the readme, but I can't seem to find a command to either tell it how many times to retry, or to disable the whole quitting thing.

Any ideas?


Title: Re: Problem with sgminer
Post by: giveen1 on January 30, 2018, 10:18:48 PM
--no-retry  ?


Title: Re: Problem with sgminer
Post by: twicx on January 30, 2018, 10:26:28 PM
--no-retry  ?

I didn't think that was in sgminer, and isn't that the opposite of what I'm looking for? I thought no-retry was that if it couldn't reconnect, it just went to the next pool?

Afaik, in cgminer, there's --r 0, which means it'll attempt a reconnect once. I essentially need that, but --r 9999999


Title: Re: Problem with sgminer
Post by: giveen1 on January 30, 2018, 10:29:41 PM
Sorry, misunderstood.


Title: Re: Problem with sgminer
Post by: twicx on January 30, 2018, 10:33:16 PM
No problem.

I think there's something with either failover or no-client-reconnect, but I'm just struggling a bit to understand the commands.


Title: Re: Problem with sgminer
Post by: tadeus1 on January 30, 2018, 10:38:49 PM
may be put a failover pool with the same setting.  That should add some time.
Not sure if it would help much, but worth a try.

Strangely , I think my sgminer never quits, even if there is no connection it just stays in retry mode, eventually picks up.
don't know why, but just remembered from the days when etn pools were up and down constantly.


Title: Re: Problem with sgminer
Post by: twicx on January 30, 2018, 10:39:49 PM
may be put a failover pool with the same setting.  That should add some time.
Not sure if it would help much, but worth a try.


I am considering that. But I wonder if failover only would work better, or would it still only try a few times