Genoil's ZEC Miner

One more try at restarting scripts :), simpler and cleaner

[quote]echo starting miner
:loop
if exist output.txt ECHO > output.txt

time /t
start /MIN _Supr.bat

:loop2

for /f “tokens=3” %%f in (‘find /c /i “submitted and accepted.” “output.txt”’) do set OldShares=%%f

timeout /T 60 /NOBREAK >nul
echo 60sec

for /f “tokens=3” %%f in (‘find /c /i “submitted and accepted.” “output.txt”’) do set NewShares=%%f
rem echo FOR Zsize

echo OldShares: %OldShares% NewShares: %NewShares%

if %NewShares% LEQ %OldShares% (
echo must kill

taskkill /F /IM genoil.exe
timeout /T 1 /NOBREAK >nul
echo re-starting miner

goto loop
) else (
goto loop2
)
[/quote]

Restarts if for time period (60sec atm), no valid shares were sent

behave please girls. this is for mining

1 Like

@gross4597 and @bullettrain STOP flooding here

1 Like

Yikes. Miners sure are crazy these days.

2 Likes

@Genoil - would you be looking to implement any of these restart scripts into later releases?

Thank you, I’m now back on 0.4.1

I don’t think that they are needed once the miner is stable.

Can you share your script?

+1
Claymore have a very nice solution: watchdog + if any hanged threads => option to run reboot.bat

How do i implement this?

seems to trigger restart every 60 sec regardless of shares submitted.in my case there are valid shares being submitted.

17:32
60sec
OldShares: 0 NewShares: 0
must kill
SUCCESS: The process “genoil.exe” with PID 4204 has been terminated.
re-starting miner

mining zec fine on nanopool. using the same bat to mine on flypool but i’m getting 0 sols. any ideas?

The errors seem to make no sense to be honest. Sometimes I get 0 Sol/s, restart two or three times and it starts working. From what I can tell the Genoil miner acts goofy if it doesn’t establish a connection to a pool very quickly.

i amm not getting it run mate :slight_smile:

i also get this error here sometimes when starting “zconn not accepted: null (24)” so i need to restart it roudn about 10 times until it runs… could you check for that message also? and does it check for 0sol value?

So i think this is what a script should look on the output right now and i would love to see a all in one solution: :wink:

  1. Check for submitted and accepted
  2. Check for a 0 sol value after the miner runs 10 secounds (time to wait because first outputs are 0 for me until it starts mining)
  3. Check against this lines:“zconn not accepted: null (24)” if its in restart also until this not happens

Is there any option to use extranonce.subscribe while mining at nicehash??

I dont know why the miner use cpu ( I restart the rig so many times )

This is when that 0 Sol/s bug happens on all cards. During that time CPU is maxed. Close it, wait 30s and then restart. Once it has work and works normal CPU usage is low.

strange. just moved over to flypool. i have a 3 rigs with 3 worker names. using the exact same bat file. two are working but the 3rd gives 0 sols??

I waited 10min and restarting many time but I get the same problem

1 Like

Hello,

I’m on Flypool everything functioned well since yesterday, but since this afternoon I have two of my three rig that pass 0.0 / s while the third continuous miner. do you have an idea ?