jstefanop / Apollo-Miner-Binaries

Binaries for running the standard unit Apollo BTC on a PC, Laptop, or Raspberry Pi
http://www.futurebit.io
26 stars 7 forks source link

Miner not stopping mining and using power when no connection to the pool #8

Closed github12101 closed 2 years ago

github12101 commented 3 years ago

I use standalone apollo-miner. I've noticed that mining pool is offline, they are doing some maintenance. However, apollo keeps mining into the air and burning power.

That's what program says:

------------------------------------------------------------
-----                  STATISTIC                       -----
------------------------------------------------------------
*** BOARDS SYS INFO (1 boards, 44 chips):
BRD  FOUND      REV   SPI     PWR  CHIPS  ON  ON_T  inOhOsc  OhOscN  OhOscT  OhN  OhT  loI  Tc  Th    T, C              TA  RevADC   OCP     HE  osc  OSChip               U, mV               I, mA  P, Wt
  0      1  BREV:20  1x 4  2x2x11     44   1     1        0       0       0    0    0    0   0   0   53  0    0( 0)  0( 0)    4004  0x00  0 (0)   36     N/A   U0: 7943 U1: 7988   I0: 7803 I1: 7803    124

*** BOARDS STAT DELTA (10 secs, 1 boards, 44 chips):
BRD   SOL  ERR      bySol  E/S  JOBS  CR  W/GHs  EPWC
  0  4772   23  2050 GH/s   0%  4795   0  0.061     0

*** BOARDS STAT TOTAL (146669 secs, 1 boards, 44 chips):
BRD       SOL     ERR      bySol  E/S      JOBS     CR  W/GHs  EPWC
  0  68167165  316274  1996 GH/s   0%  68972486  67418  0.062     0

*** MASTER STATS PER INTERVAL:
INTERVAL      sec   bySol  byDiff  byPool  byJobs  CHIP GHs  W/GHs       SOL     ERR  ERR(%)     CR
  30 sec      10s  2049.6  3795.1     0.0  2051.8     46.58  0.061      4772      23    0.5%      0
   5 min     102s  2004.5  3162.6     0.0  2014.5     45.56  0.062     47605     217    0.5%     44
  15 min     307s  1996.8  2286.9     0.0  2013.4     45.38  0.062    142727     623    0.4%    154
  1 hour    1226s  1996.2  1981.1     0.0  2013.3     45.37  0.062    569798    2722    0.5%    572
   total  146669s  1996.2  5176.2  1833.2  2012.2     45.37  0.062  68167165  316274    0.5%  67418

*** MASTER STATS:
Date: 2021-07-28 13:03:04, UpTime: 146676 secs, mbHwVer: 0x0, osc: 36
Smooth osc: step: 1, ignore broken pwc: 0
Found boards:   1
Broken SPI:     0

*** POOL STATS:
Pool: host:port: sha256.mining-dutch.nl:9996, user: xxx.apollo, diff: 1024, reconnects: 488
extraNonce1: 04c58eb7, extraNonce2Size: 4, jobs: 0, rollingEnabled: 0, rollingMask: 00000000
INTERVAL      sec   JOBS  clean  SHARES     ok  err  POOL sol           minRespT       avgRespT           maxRespT  loss  INSERVICE      %
  30 sec      10s      0      0       0      0    0         0                  0              0                  0  0.0%         0s   0.0%
   5 min     102s      0      0       0      0    0         0                  0              0                  0  0.0%         0s   0.0%
  15 min     307s      0      0       0      0    0         0                  0              0                  0  0.0%         0s   0.0%
  1 hour    1226s      0      0       0      0    0         0                  0              0                  0  0.0%         0s   0.0%
   total  146669s  10880   5559   15991  15964   27  62602850  18446743631868281  1153201091391  18446743776780378  0.0%    143851s  98.1%

*** EVENT STATS:
Legend: SE - subbsribe error (initialising issue)
        DIFF - diff changes, REC - reconnects, RECE - reconnects on error
        SHARES - sent to pool, PSS - pwc shares sent, PSD - pwc shares dropped
        DJS - default job shares, SJS - stale job shares, DUP - duplicates, LDS - low diff shares
        BDS - big diff shares, BTS - below target shares, PR - pwc restart, SO - stat overflow
INTERVAL      sec  SE  DIFF  REC  RECE  SHARES    PSS  PSD  DJS   SJS  DUP  LDS  BDS  BTS  PR  SO
  30 sec      10s   0     0    2     0       0      2    0    0     0    0    0    0    0   0   0
   5 min     102s   0     0   20     0       0     17    0    0     0    0    0    0    0   0   0
  15 min     307s   0     0   59     0       0     37    0    0     0    0    0    0    0   0   0
  1 hour    1226s   0     0  238     0       0    128    0    0     0    0    0    0    0   0   0
   total  146669s   0   188  290    17   15991  44764    0    0  1089    0    0    0    0   4   0

FAN INFO:
Slave   RPM
    0  2042

Temp(C) (min/avr/max): 0 / 26 / 53

*** MASTER-SLAVE SPI BUS STATS:
SLAVE                       UID  B-LEN   B-CRC-C   B-CRC-L         VER    TIME  PING    M=>S      rx  err     %     S=>M       rx  err     %     SS  SD  Rst  LastRstT  Packets  Time msec.  Speed(pack./sec)
    0  240034000550304235343720      0  00000000  00000000  0x13160100  567074   886  330380  330367    0  0.0%  1275751  1275750    1  0.0%  64795   0    0         0

Total packets: 330380 in 145647090 ms, speed: 2.27 packets/sec
Exporting stat... [done]
EVENT: 2021-07-28 13:03:06 ::: POOL_ERROR ::: Drop off 2 shares
Initial difficulty: 1024
Connecting to sha256.mining-dutch.nl:9996...
Connection successful
Server setup for us extranonce1: 009972fa
Server setup for us size of extranonce2: 4
(3){id=2,result=false,error="miner still banned"}
WARNING: Error processing input Stratum message:
(3){id=2,result=false,error="miner still banned"}
ERROR: Pool authorization failed, verify login/password.
EVENT: 2021-07-28 13:03:06 ::: POOL_ERROR ::: SessionSetupException: Pool authorization failed, verify login/password.
Disconnected from pool.
EVENT: 2021-07-28 13:03:06 ::: RECONNECTION ::: 

Summary: Pool has been offline for few hours but miner keeps burning power for nothing, there is no stratum connection.

Expected result: mining should stop, power use should drop. json file should show zero hashrate. Apollo-miner output should also show zero hashrate.

jstefanop commented 2 years ago

Miner stops after 300 second timeout, this can be modified with the -pool_no_data_t option