ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.96k stars 2.28k forks source link

Reconnect to nanopool after ADSL/relogin after 24hours forced separation no new jobs! #1471

Closed MiningGuru closed 6 years ago

MiningGuru commented 6 years ago

Hello,

some of my rigs did not work anymore after forced separation relogin to ADSL-provider. The issue seemed like similar to the old reconnection problem of the old 0.13 and 0.14 repos.

Perhabs it has to do with some optimizations from 1987.

After connection lost, all graphiccards repeated shows 0MH/s the ethminer will not reconnect to nanopool or do not check for a new job.

ethminer -U -P stratum1+tcp://0xxxxyyyyyyyyyyyyyyy@eth-eu1.nanopool.org:9999/NVIDIARIG/mygmailadress@googlemail.com --stratum-email mygmailadress@googlemail.com --HWMON 1 -R --display-interval 10 --api-port 6000 --http-port 6001 --api-password ethtothemoonagain

lesjokolat commented 6 years ago

try latest dev last weeks releases fixed several issues around URIs and stratum connections see y commnt in other issue you created.

MiningGuru commented 6 years ago

sorry no the latest dev I tested the same problem occours /incorrect worker name /hashrate reporting do not work and 0MH/s after ADSL reconnection after 24 hours from provider.

lesjokolat commented 6 years ago

If same startup command as other issue, can you post output of -v output? include all lines from beginning to end if possible.

MiningGuru commented 6 years ago

here is the output from the start with v 8: At the end i did close via CTRL-C:

C:\eth>cd c:\eth

C:\eth>setx GPU_FORCE_64BIT_PTR 0

ERFOLGREICH: Angegebener Wert wurde gespeichert.

C:\eth>setx GPU_MAX_HEAP_SIZE 100

ERFOLGREICH: Angegebener Wert wurde gespeichert.

C:\eth>setx GPU_USE_SYNC_OBJECTS 1

ERFOLGREICH: Angegebener Wert wurde gespeichert.

C:\eth>setx GPU_MAX_ALLOC_PERCENT 100

ERFOLGREICH: Angegebener Wert wurde gespeichert.

C:\eth>setx GPU_SINGLE_ALLOC_PERCENT 100

ERFOLGREICH: Angegebener Wert wurde gespeichert.

C:\eth>ethminer -U -P stratum1+tcp://0xyyyyyyyyyyyyyyyyyyyyyyyyyyyy@eth-eu1.nanopool.org:9999/NVIDIARIG/yyyyyyyyyyy@googlemail.com --stratum-email yyyyyyyyyyyyy@googlemail --HWMON 1 -R --display-interval 10 --api-port 6000 --http-port 6001 --api-password dt -v 8 m 09:29:26 main ethminer 0.16.0.dev3-26+commit.66882f5e m 09:29:26 main Build: windows/release cu 09:29:27 main Using grid size: 8.192, block size: 128 i 09:29:28 main Configured pool eth-eu1.nanopool.org:9999 i 09:29:28 main Api server listening on port 6000. Authentication needed. i 09:29:28 Starting web server on port 0.0.0.0:6001 i 09:29:28 main Selected pool eth-eu1.nanopool.org:9999 i 09:29:28 stratum Trying 92.222.72.197:9999 ... i 09:29:28 stratum Socket connected to [92.222.72.197:9999] i 09:29:28 stratum Socket disconnected from [92.222.72.197:9999] i 09:29:28 stratum Trying 92.222.72.197:9999 ... i 09:29:28 stratum Socket connected to [92.222.72.197:9999] i 09:29:28 stratum Stratum mode detected : ETHPROXY Compatible i 09:29:28 stratum Logged in ! i 09:29:28 stratum Established connection with eth-eu1.nanopool.org:9999 at [92.222.72.197:9999] i 09:29:28 stratum Spinning up miners... i 09:29:28 cuda-0 No work. Pause for 3 s. i 09:29:28 cuda-1 No work. Pause for 3 s. i 09:29:28 cuda-2 No work. Pause for 3 s. i 09:29:28 cuda-3 No work. Pause for 3 s. i 09:29:28 cuda-4 No work. Pause for 3 s. i 09:29:28 cuda-5 No work. Pause for 3 s. i 09:29:28 cuda-6 No work. Pause for 3 s. i 09:29:28 cuda-7 No work. Pause for 3 s. i 09:29:28 stratum Job: #84ebf234... eth-eu1.nanopool.org [92.222.72.197:9999] i 09:29:28 stratum Pool difficulty: 10.00K megahash i 09:29:28 stratum New epoch 205 i 09:29:31 cuda-1 Initialising miner 1 i 09:29:31 cuda-4 Initialising miner 4 i 09:29:31 cuda-0 Initialising miner 0 i 09:29:31 cuda-3 Initialising miner 3 i 09:29:31 cuda-2 Initialising miner 2 cu 09:29:31 cuda-1 Using device: GeForce GTX 1070 (Compute 6.1) i 09:29:31 cuda-6 Initialising miner 6 i 09:29:31 cuda-7 Initialising miner 7 i 09:29:31 cuda-5 Initialising miner 5 cu 09:29:31 cuda-4 Using device: GeForce GTX 1070 (Compute 6.1) cu 09:29:31 cuda-0 Using device: GeForce GTX 1070 (Compute 6.1) cu 09:29:31 cuda-2 Using device: GeForce GTX 1070 (Compute 6.1) cu 09:29:31 cuda-3 Using device: GeForce GTX 1070 (Compute 6.1) cu 09:29:31 cuda-6 Using device: GeForce GTX 1070 (Compute 6.1) cu 09:29:31 cuda-7 Using device: GeForce GTX 1070 (Compute 6.1) cu 09:29:31 cuda-5 Using device: GeForce GTX 1070 (Compute 6.1) cu 09:29:32 cuda-1 Set Device to current cu 09:29:32 cuda-4 Set Device to current cu 09:29:32 cuda-0 Set Device to current cu 09:29:32 cuda-2 Set Device to current cu 09:29:32 cuda-3 Set Device to current cu 09:29:32 cuda-6 Set Device to current cu 09:29:32 cuda-7 Set Device to current cu 09:29:32 cuda-5 Set Device to current cu 09:29:32 cuda-1 Resetting device cu 09:29:32 cuda-4 Resetting device cu 09:29:32 cuda-0 Resetting device cu 09:29:32 cuda-2 Resetting device cu 09:29:32 cuda-3 Resetting device cu 09:29:32 cuda-6 Resetting device cu 09:29:32 cuda-7 Resetting device cu 09:29:32 cuda-5 Resetting device cu 09:29:33 cuda-1 Allocating light with size: 43.646.912 cu 09:29:33 cuda-4 Allocating light with size: 43.646.912 cu 09:29:33 cuda-4 Generating mining buffers cu 09:29:33 cuda-2 Allocating light with size: 43.646.912 cu 09:29:33 cuda-6 Allocating light with size: 43.646.912 cu 09:29:33 cuda-2 Generating mining buffers cu 09:29:34 cuda-7 Allocating light with size: 43.646.912 cu 09:29:34 cuda-3 Allocating light with size: 43.646.912 cu 09:29:34 cuda-1 Generating mining buffers cu 09:29:34 cuda-0 Allocating light with size: 43.646.912 cu 09:29:34 cuda-4 Generating DAG for GPU #4 with dagSize: 2.793.401.984 gridSize: 8.192 cu 09:29:34 cuda-3 Generating mining buffers cu 09:29:34 cuda-7 Generating mining buffers cu 09:29:34 cuda-1 Generating DAG for GPU #1 with dagSize: 2.793.401.984 gridSize: 8.192 cu 09:29:34 cuda-0 Generating mining buffers cu 09:29:34 cuda-6 Generating mining buffers cu 09:29:34 cuda-2 Generating DAG for GPU #2 with dagSize: 2.793.401.984 gridSize: 8.192 cu 09:29:34 cuda-5 Allocating light with size: 43.646.912 cu 09:29:34 cuda-3 Generating DAG for GPU #3 with dagSize: 2.793.401.984 gridSize: 8.192 cu 09:29:34 cuda-6 Generating DAG for GPU #6 with dagSize: 2.793.401.984 gridSize: 8.192 cu 09:29:34 cuda-0 Generating DAG for GPU #0 with dagSize: 2.793.401.984 gridSize: 8.192 cu 09:29:34 cuda-7 Generating DAG for GPU #7 with dagSize: 2.793.401.984 gridSize: 8.192 cu 09:29:34 cuda-5 Generating mining buffers cu 09:29:34 cuda-5 Generating DAG for GPU #5 with dagSize: 2.793.401.984 gridSize: 8.192 m 09:29:38 main Speed 0,00 Mh/s gpu0 0,00 38C 43% 122W gpu1 0,00 42C 45% 123W gpu2 0,00 40C 43% 122W gpu3 0,00 40C 44% 122W gpu4 0,00 42C 45% 125W gpu5 0,00 38C 42% 120W gpu6 0,00 40C 43% 122W gpu7 0,00 35C 41% 125W [A0] Time: 00:00 cu 09:29:41 cuda-4 Generated DAG for GPU4 in: 7.389 ms. cu 09:29:41 cuda-4 Switch time: 13.447 ms. cu 09:29:41 cuda-1 Generated DAG for GPU1 in: 7.350 ms. cu 09:29:41 cuda-2 Generated DAG for GPU2 in: 7.353 ms. cu 09:29:41 cuda-7 Generated DAG for GPU7 in: 7.315 ms. cu 09:29:41 cuda-3 Generated DAG for GPU3 in: 7.339 ms. cu 09:29:42 cuda-6 Generated DAG for GPU6 in: 7.356 ms. cu 09:29:42 cuda-1 Switch time: 13.785 ms. cu 09:29:42 cuda-2 Switch time: 13.805 ms. cu 09:29:42 cuda-0 Generated DAG for GPU0 in: 7.384 ms. cu 09:29:42 cuda-7 Switch time: 13.816 ms. cu 09:29:42 cuda-3 Switch time: 13.820 ms. cu 09:29:42 cuda-6 Switch time: 13.844 ms. cu 09:29:42 cuda-0 Switch time: 13.879 ms. cu 09:29:42 cuda-5 Generated DAG for GPU5 in: 7.382 ms. cu 09:29:42 cuda-5 Switch time: 14.088 ms. m 09:29:48 main Speed 72,74 Mh/s gpu0 9,04 40C 44% 123W gpu1 9,15 43C 46% 126W gpu2 9,15 41C 45% 125W gpu3 9,04 42C 45% 125W gpu4 9,69 43C 46% 123W gpu5 8,60 40C 44% 125W gpu6 9,04 41C 45% 125W gpu7 9,04 36C 42% 126W [A0] Time: 00:00

shutdown via CTRL +C the console.......

i 09:29:52 main Shutting down... i 09:29:52 main Socket disconnected from [92.222.72.197:9999] i 09:29:52 main Disconnected from eth-eu1.nanopool.org [92.222.72.197:9999] i 09:29:52 main Shutting down miners... i 09:29:56 cuda-7 Solution 0x7f5829328f57ab4b wasted. Waiting for connection ... i 09:30:00 main Terminated ! Batchvorgang abbrechen (J/N)?

jean-m-cyr commented 6 years ago

Fixed with PR #1477

jean-m-cyr commented 6 years ago

@MiningGuru Is this still an issue?

MiningGuru commented 6 years ago

ok now after changing the other fix.

jean-m-cyr commented 6 years ago

Closing