Post
Topic
Board Mining (Altcoins)
Re: Claymore's Dual Ethereum AMD+NVIDIA GPU Miner v8.1 (Windows/Linux)
by
luigbren
on 23/03/2017, 21:51:37 UTC
Friends, there is some command or some configuration where I can close the Claymore automatically when it is disconnected because there is no way to send new jobs or many invalid shares have been sent (Miner disconnects automatically if pool does not send new jobs for a long time or if pool rejects too many shares) I need that when the claymore is disconnected for any of these reasons, the program will close automatically

From OP or Readme:

-retrydelay  
          delay, in seconds, between connection attempts. Default values is "20". Specify "-retrydelay -1" if you don't need reconnection, in this mode miner will exit if connection is lost.


Thanks for replying, if I use the -retrydelay -1 command when my internet connection is interrupted the program does not reconnect to the 20 seconds and it closes, ok perfect...

But I mean when the pool disconnects me, in many occasions it sends Many invalid shared and disconnect me and reconnect to the seconds, here I leave an example in the log

Quote
17:19:57:372   15cc   ETH: Too many rejects from pool, disconnect...
17:19:58:386   15cc   ETH - connecting to eth.pool.minergate.com:55751/xxxx@xxxx.com
17:19:58:386   15cc   http send request: {"jsonrpc":"2.0", "method": "eth_getWork", "params": [], "id":0}
17:19:58:760   15cc   http got answer: {"jsonrpc":"2.0","result":["4560cb9d8c28770d5e67c8a7faabd30f30526fe1119f8dd85271fe9b521f8914","12191bf508ba850b6ccb5ab7bc1c0e5197079166307510dae6781185a8347bea","0000001520c6a809ae18e851d45eeb23aac0ff7322be05e1961747f58d8a3960"],"status":"OK","id":0}
17:19:58:760   15cc   ETH: Connected (eth.pool.minergate.com:55751/xxxxxx@xxxxx.com)
17:19:58:760   15cc   parse packet: 250
17:19:58:760   15cc   ETH: job changed
17:19:58:760   15cc   new buf size: 0
17:19:58:776   15cc   ETH: 03/23/17-17:19:58 - SHARE FOUND - (GPU 1)
17:19:58:776   15cc   http send request: {"jsonrpc":"2.0", "id":4,"method":"eth_submitWork","params":["0xc0ec70e001ee5abf","0xc06f26a20d74e13422ec5b82333c058d52eda0b53f75521d4cded389d039c6de","0x78c7566f1df8de6947eefd3e220be7c4c5ae6baa10bd61bd6c9b6cb27c628f05"]}
17:19:58:963   15cc   http got answer: {"jsonrpc":"2.0","id":4,"result":false}
17:19:58:963   15cc   ETH: Submitted share rejected!

17:19:58:963   15cc   ETH: 03/23/17-17:19:58 - SHARE FOUND - (GPU 0)
17:19:58:963   15cc   http send request: {"jsonrpc":"2.0", "id":4,"method":"eth_submitWork","params":["0x0a4918b801d849f3","0xc06f26a20d74e13422ec5b82333c058d52eda0b53f75521d4cded389d039c6de","0x49791dafbcb3c8770fc7828f0ab799a2a3517c9b939cebd68e279a6df7d6afc5"]}
17:19:59:150   15cc   http got answer: {"jsonrpc":"2.0","id":4,"result":false}
17:19:59:150   15cc   ETH: Submitted share rejected!

17:19:59:338   15cc   parse packet: 250
17:19:59:338   15cc   ETH: job is the same
17:19:59:338   15cc   new buf size: 0
17:19:59:353   15cc   ETH: 03/23/17-17:19:59 - SHARE FOUND - (GPU 0)
17:19:59:353   15cc   http send request: {"jsonrpc":"2.0", "id":4,"method":"eth_submitWork","params":["0xb0c452d801c668cf","0xc06f26a20d74e13422ec5b82333c058d52eda0b53f75521d4cded389d039c6de","0x055e09971558b78376bb00e3a8b3ea39144d6df72e4b30f2506b559967a8f102"]}
17:19:59:540   15cc   http got answer: {"jsonrpc":"2.0","id":4,"result":false}
17:19:59:540   15cc   ETH: Submitted share rejected!

17:19:59:540   15cc   ETH: 03/23/17-17:19:59 - SHARE FOUND - (GPU 3)
17:19:59:540   15cc   http send request: {"jsonrpc":"2.0", "id":4,"method":"eth_submitWork","params":["0xba410cc001729b8e","0xc06f26a20d74e13422ec5b82333c058d52eda0b53f75521d4cded389d039c6de","0x575452496a130d3f96e03a9af3794e509f40be1a8c45f389f3d6552a6499e99e"]}
17:19:59:728   15cc   http got answer: {"jsonrpc":"2.0","id":4,"result":false}
17:19:59:728   15cc   ETH: Submitted share rejected!

17:19:59:837   1580   ETH: put share nonce 582ec04005fbf3d5
17:19:59:837   1580   ETH round found 1 shares
17:19:59:915   15cc   parse packet: 250
17:19:59:915   15cc   ETH: job is the same
17:19:59:915   15cc   new buf size: 0
17:19:59:930   15cc   ETH: 03/23/17-17:19:59 - SHARE FOUND - (GPU 0)
17:19:59:930   15cc   http send request: {"jsonrpc":"2.0", "id":4,"method":"eth_submitWork","params":["0x0a4918b802326180","0xc06f26a20d74e13422ec5b82333c058d52eda0b53f75521d4cded389d039c6de","0x5c58de39df830e7821600165c5782d805dcccc925abbff27b6eee13db4c3fddd"]}
17:20:00:118   15cc   http got answer: {"jsonrpc":"2.0","id":4,"result":false}
17:20:00:118   15cc   ETH: Submitted share rejected!

17:20:00:118   15cc   ETH: 03/23/17-17:20:00 - SHARE FOUND - (GPU 0)
17:20:00:118   15cc   http send request: {"jsonrpc":"2.0", "id":4,"method":"eth_submitWork","params":["0xb0c452d8024e487a","0xc06f26a20d74e13422ec5b82333c058d52eda0b53f75521d4cded389d039c6de","0x4f00190aaa0f546199ebc2e66c46ac1a6b0fc27342a512301aa536939a9f5a1a"]}
17:20:00:305   15cc   http got answer: {"jsonrpc":"2.0","id":4,"result":false}
17:20:00:305   15cc   ETH: Submitted share rejected!

17:20:00:492   15cc   parse packet: 250
17:20:00:492   15cc   ETH: job is the same
17:20:00:492   15cc   new buf size: 0
17:20:00:508   15cc   ETH: 03/23/17-17:20:00 - SHARE FOUND - (GPU 1)
17:20:00:508   15cc   http send request: {"jsonrpc":"2.0", "id":4,"method":"eth_submitWork","params":["0xc0ec70e00275bf85","0xc06f26a20d74e13422ec5b82333c058d52eda0b53f75521d4cded389d039c6de","0x5bc6c3e2e83fb44248a778d3aaca8dec15c159b260a152dff9b5decf12e9dc5d"]}
17:20:00:695   15cc   http got answer: {"jsonrpc":"2.0","id":4,"result":false}
17:20:00:695   15cc   ETH: Submitted share rejected!

17:20:00:695   15cc   ETH: 03/23/17-17:20:00 - SHARE FOUND - (GPU 2)
17:20:00:695   15cc   http send request: {"jsonrpc":"2.0", "id":4,"method":"eth_submitWork","params":["0xef6b68700245eece","0xc06f26a20d74e13422ec5b82333c058d52eda0b53f75521d4cded389d039c6de","0x2deca194d3acdd04a2502ef3d313224bb9f5a34d0f6e4e9c6168a56eb32c538b"]}
17:20:00:882   15cc   http got answer: {"jsonrpc":"2.0","id":4,"result":false}
17:20:00:882   15cc   ETH: Submitted share rejected!

17:20:01:069   15cc   parse packet: 250
17:20:01:069   15cc   ETH: job is the same
17:20:01:069   15cc   new buf size: 0
17:20:01:085   15cc   ETH: 03/23/17-17:20:01 - SHARE FOUND - (GPU 3)
17:20:01:085   15cc   http send request: {"jsonrpc":"2.0", "id":4,"method":"eth_submitWork","params":["0x6947c97800005894","0xc76bc7226c877ae2a264e22e80543982ec1751f0f3ac646868ae469a9f713740","0xd0852616027fa88de9bb8df32459c7afb63f2c404c3f9302aaf8e8e28772c63a"]}
17:20:01:272   15cc   http got answer: {"jsonrpc":"2.0","id":4,"result":false}
17:20:01:272   15cc   ETH: Submitted share rejected!

17:20:01:272   15cc   ETH: 03/23/17-17:20:01 - SHARE FOUND - (GPU 2)
17:20:01:272   15cc   http send request: {"jsonrpc":"2.0", "id":4,"method":"eth_submitWork","params":["0x6b9b9760000a2f27","0xc76bc7226c877ae2a264e22e80543982ec1751f0f3ac646868ae469a9f713740","0x3190ef15aa93274a9c55fb637b871ea9db44d3c518fcde6eec8ac02e4a50d558"]}
17:20:01:459   15cc   http got answer: {"jsonrpc":"2.0","id":4,"result":false}
17:20:01:459   15cc ETH: Submitted share rejected!
17:20:01:646   15cc   parse packet: 250
17:20:01:646   15cc   ETH: job is the same
17:20:01:646   15cc   new buf size: 0
17:20:01:662   15cc   ETH: Too many rejects from pool, disconnect..
17:20:02:676   15cc   ETH - connecting to eth.pool.minergate.com:55751/xxxx@xxxx.com
17:20:02:676   15cc   http send request: {"jsonrpc":"2.0", "method": "eth_getWork", "params": [], "id":0}
17:20:03:050   15cc   http got answer: {"jsonrpc":"2.0","result":["4560cb9d8c28770d5e67c8a7faabd30f30526fe1119f8dd85271fe9b521f8914","12191bf508ba850b6ccb5ab7bc1c0e5197079166307510dae6781185a8347bea","0000001520c6a809ae18e851d45eeb23aac0ff7322be05e1961747f58d8a3960"],"status":"OK","id":0}
17:20:03:050   15cc   ETH: Connected (eth.pool.minergate.com:55751/xxxxx@xxxxxx.com)
17:20:03:050   15cc   parse packet: 250
17:20:03:050   15cc   ETH: job changed


http://oi64.tinypic.com/s4yrea.jpg

Image that I can capture from Remote Web manager, I do not know because it gives me that problem in several occasions but I would like to close the program when that problem happens...


Connects to the pool sends many invalid shared every second and the server disconnects me, reconnects and disconnects me again, Is repeated again and again, does not stop until I close the program and it reopens, exists or you can make a command that if the server disconnected me for sending many invalid shared did the program close automatically?


Quote
GPU_FORCE_64BIT_PTR 0
GPU_MAX_HEAP_SIZE 100
GPU_USE_SYNC_OBJECTS 1
GPU_MAX_ALLOC_PERCENT 100
GPU_SINGLE_ALLOC_PERCENT 100
EthDcrMiner64.exe -epool http://eth.pool.minergate.com:55751/xxxx@xxxx.com -epsw x -r 40 -ethi 5 -mode 1 -gser 2 -dbg -1 -retrydelay -1 -esm 1

Edit Note: I'm testing many configurations and I'm not taking the option -retrydelay -1, and if I put the option -retrydelay 10 either, it always tries to reconnect in 20 seconds