MaynardMiner / SWARM

Profit Switching Mining Administrator For HiveOS/Linux & Windows: HiveOS Integrated
MIT License
92 stars 40 forks source link

Failed API check for coins triggers miner restarts by SWARM ... #437

Closed UserDC-LeGrand closed 1 year ago

UserDC-LeGrand commented 1 year ago

Miners are getting restarted apparently for no reason when SWARM fails an API check for coins. This happened on two separate rigs (NVIDIA and AMD) on zpool coins api check. In both cases, same miner + Algo were selected after SWARM cleared the connection, and launched them again, causing several minutes of downtme and low hash rate until miners ramp up again. Please view logs below for sequence of events..

miniz log file indicated that it recevied a Control-C(from SWARM), and then ended, and restarted ...

8>RTX 2060 SUPER 100% [46.C/70%] 21.58 I/s 42.83(43.00)Sol/s 124(123.2)W clk=1710MHz mclk=6801MHz Sol/W=0.349 Got CTRL+C, cleaning up... **** miniZ v1.9z5b **** Number of miniZ CUDA>=[8.0] using driver CUDA[11.60] devices found: 9 Driver: 510.73 Algo: EQ[192,7] [smart-pers] Pool#0: user[MNpWgC4tjUFF3pxWJ1eKKSQY4xqD6LnkbM] server[equihash192.na.mine.zpool.ca] port[2192] ssl[no] pers[ZcashPoW] Telemetry: [http://localhost:60001] Logging:: file[/hive/miners/custom/SWARM.3.6.7.linux/logs/miniz-n-1.log] period[10] delay[0] Optimisation: ocX[0 0 0 0 0 0 0 0 0] Temp. limit: [61.C]

SWARM indicated it failed an API ckeck and proceeded to restart the miner for no reason at alll ....

[11/04/2022 08:35:17]: miniz-n-1 YEC Was Active for 2308 Seconds [11/04/2022 08:35:17]: Attempting to record hashrate for miniz-n-1 YEC [11/04/2022 08:35:17]: miniz-n-1 YEC Starting Bench [11/04/2022 08:35:17]: Recorded Hashrate For miniz-n-1 YEC Is 451.84 H [11/04/2022 08:35:17]: Watt-O-Meter scored miniz-n-1 YEC at 1,171.82 Watts [11/04/2022 08:35:17]: Stat Written [11/04/2022 08:35:17]: Was this stat not correct? You can run command 'bench miner miniz-n-1 equihash_192/7' to reset benchmark [11/04/2022 08:35:17]: There is also a bash file labeled swarm_start_equihash_192/7.sh for testing in .\bin\miniz-n-1

[11/04/2022 08:35:18]: SWARM Is Building The Database. Auto-Coin Switching: Yes [11/04/2022 08:35:19]: Loading Miner Hashrates [11/04/2022 08:35:19]: Checking Algo Pools. [11/04/2022 08:35:28]: Algo Pools Loading Time: 9 seconds [11/04/2022 08:35:29]: Adding Coin Pools. . . [11/04/2022 08:35:47]: WARNING: SWARM contacted (zpool) for a failed API check. (Coins) [11/04/2022 08:35:47]: Coin Pools Loading Time: 19 seconds [11/04/2022 08:35:48]: Checking Algo Miners. . . . [11/04/2022 08:35:54]: Algo Miners Loading Time: 6 seconds [11/04/2022 08:35:54]: Checking Coin Miners. . . . . [11/04/2022 08:36:00]: Coin Miners Loading Time: 6 seconds [11/04/2022 08:36:01]: Most Ideal Choice Is equihash_192/7 on zpool [11/04/2022 08:36:03]: waiting on miner for NVIDIA1 to end... [11/04/2022 08:36:05]: Checking Hive OC Tuning [11/04/2022 08:36:05]: Setting Hive OC to equihash 192/7 Settings

MaynardMiner commented 1 year ago

We've discovered issue and changes implemented for next release.