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

Featurerequest: Restart Miner on 0 MH/s #199

Closed
ghost opened this issue Jul 24, 2017 · 22 comments
Closed

Featurerequest: Restart Miner on 0 MH/s #199

ghost opened this issue Jul 24, 2017 · 22 comments

Comments

@ghost
Copy link

ghost commented Jul 24, 2017

Hey Devteam,

first of all: Thank you for your great work. Ethminer ist running verry fast an stable on Nvidia-Cards now. We're running a 6x GTX 1070 rig @arround 190mh/s! Way better than Claymore!

But theres one feature wich would be verry nice. Sometimes (didn't find a reason yet) the Miner has "CUDA unspecific launch fail" and puts out 0 MH/s, for hours if you dont stop and restart it.

It would be verry nice if you could start Monitoring this issue and just restart the Miner if something like this happens...

KR

@orkblutt
Copy link

They are some scripts around to deal with that.
Here a tool I'm doing: https://github.com/orkblutt/MinerLamp

@limestone-xyz
Copy link

Have got the same issue occurring from time to time on a small 2x1060 rig.
Can't tell why, but it would be nice to have such an option.

@derubm
Copy link

derubm commented Jul 24, 2017

another watchdog:
reacts on exception, error in output, restarts mining process.
multible pools configurable- no GUI, only dos box ;)
https://github.com/derubm/Ethminer_Watchdog
if you guys like a gui, orkblutts tools is nice.
https://github.com/orkblutt/MinerLamp

@Singman33
Copy link

If we get an API on that program, monitoring the hashrate and restarting the miner will be easy.
See issue #170

@JDrepository
Copy link

Ethminer_Watchdog does not work on us2.ethermine.org:14444 ?
I can not make it work

@derubm
Copy link

derubm commented Jul 26, 2017

if its a stratum you need to correct -F to -S in mining.cmd

2nd solution: use stratum proxy (that is the way i personally run my miner)
https://ethermine.org/ << scroll down to stratum proxy by dwarfpool

@JDrepository
Copy link

JDrepository commented Jul 26, 2017

Error:
Stratum Connecting to the stratum server http://us2.ethermine.org:14444/ ...... / GTX1060/[email protected]
Stratum solves: The specific class has not been hidden
Stratum Reconnecting in 3 seconds ....

@derubm
Copy link

derubm commented Jul 26, 2017

config string according to ethermine would be;
us1.ethermine.org:4444 -O Your_Ethereum_Address.RigName

anyway easiest way is to use stratum proxy,. ( https://github.com/Atrides/eth-proxy/releases )
pre configured local stratum mining is allready as a sample in watchdog.bat ( entry 2. )
needs change on miner and password for your configuration.

@JDrepository
Copy link

Changing only (Your_Ethereum_Address.RigName)
GTX 1060 3G = 29MH / S stable
very good
congratulations

@jimmykl
Copy link
Contributor

jimmykl commented Jul 26, 2017

@Git1Hub2 29Mh/s on a 1060 3G?! What type of card, memory and overclock?!

@JDrepository
Copy link

Is it right?
m 13:29:46|main Mining on #1a3303bc… : 30.31MH/s [A4+0:R0+0:F0]
m 13:29:47|main Mining on #1a3303bc… : 0.00MH/s [A4+0:R0+0:F0]
m 13:29:48|main Mining on #1a3303bc… : 30.17MH/s [A4+0:R0+0:F0]
m 13:29:48|main Mining on #1a3303bc… : 29.92MH/s [A4+0:R0+0:F0]
m 13:29:49|main Mining on #1a3303bc… : 30.09MH/s [A4+0:R0+0:F0]
m 13:29:50|main Mining on #1a3303bc… : 30.17MH/s [A4+0:R0+0:F0]

1 GTX 1060 3G MSI MEMORY SANSUNG
DRIVER : 376.51
MEMORY CLOCK : +1000

--cuda-parallel-hash 4 --cuda-streams 10 --cuda-grid-size 8192 --cuda-block-size 256 -v 9

@jimmykl
Copy link
Contributor

jimmykl commented Jul 26, 2017

Oh yep that's a good result!

@JDrepository
Copy link

Sorry but it's not mining!Nothing appears in the pool

1111

@derubm
Copy link

derubm commented Jul 26, 2017

your mining url is false
(address. ???)
can you post me the line that you use ?
it should be (replace address, miner name , email)
http://eth-eu.dwarfpool.com:80/0x762c924a469f21a446529bd8f6b07db6bde124bf/Rigname/[email protected]
(no point after your address, but a slash, then you miners name)
edit: on dwarfpool aprox. 10-15 minutes after first submitted share you should be able to see your miner working.
http://imgur.com/a/0sCpM

@JDrepository
Copy link

Why is the MH / s so high? I already tried a lot and I can not change ... I'm a beginner in this rsrs sorry

@derubm
Copy link

derubm commented Jul 26, 2017

its because of your memory speed, it is maxed out.
for questions like that join IRC freenode chan #ethereum-mining. this should not become a message board here.

@prototypeL
Copy link

@Git1Hub2
May I ask how did you installed tesla driver (ver. 376.51) in your 1060? i tried it but failed miserably...

@JDrepository
Copy link

I downloaded the cuda_8.0.61_win10 from 1.3gb
And he installs this driver (376.51) alone
Https://developer.nvidia.com/cuda-downloads

@ghost
Copy link

ghost commented Nov 16, 2017

I encountered the same issue while playing around with different clock-speeds, power and maximum wattage and wrote a little script to restart on low watts (low MHz sounds even better ...):

#!/bin/bash

wallet_id="0x2824194fa61ac4b64ffa485b10d1045c9fbc83d3"
pool_url="http://eth-eu.dwarfpool.com:80/"
etherminer_cmd="ethminer -U -F $pool_url/$wallet_id --farm-recheck 200"
min_watts="55.00"

echo "Starting miner"
eval $etherminer_cmd &
echo "Waiting for 30s for watts to rise"
sleep 30

while sleep 10;do
    current_watts=$(nvidia-smi -i 0 --format=csv --query-gpu=power.draw | sed -n 2p | cut -d ' ' -f 1);
    echo "Current watts: $current_watts";
    if (( $(awk 'BEGIN {print ("'$current_watts'" <= "'$min_watts'")}') )); then
    	echo "Restarting, because low on current watts: $current_watts <= min_watts"
        killall "ethminer"
        sleep 5
        eval $etherminer_cmd &
        echo "Waiting for 30s for watts to rise"
        sleep 30
    fi
done

@DeadManWalkingTO
Copy link
Contributor

I believe now the issue have been solved #757 (added --exit parameter to exit whenever an error occurred).

@smurfy
Copy link
Collaborator

smurfy commented Feb 23, 2018

Its not solved, but a workaround exists now.

@sandrodz
Copy link

@smurfy what is the workaround?

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

No branches or pull requests