m4rkw / minotaur

MIT License
7 stars 4 forks source link

Critical: minotaur doesn't start for ages when any data source is unreachable #23

Open gordan-bobic opened 6 years ago

gordan-bobic commented 6 years ago

Instead of using the data it already has cached, stale as it may be, minotaur instead just doesn't start at all. This appears in the logs, but minotaur never actually starts mining:

$ cat /var/log/minotaur/minotaur.log 
2018-03-24 12:44:43: [info] initialising
2018-03-24 12:44:43: [warning] failed to check for updates
2018-03-24 12:49:44: [info] scanning devices
2018-03-24 12:49:44: [info] found 10 nvidia GPUs
2018-03-24 12:49:44: [info] device 0 [1070Ti]:      ccminer: blake2s,blake256r8,decred,cryptonight,keccak,neoscrypt,nist5
2018-03-24 12:49:44: [info] device 0 [1070Ti]:      ccminer: qubit,lbry,lyra2rev2
2018-03-24 12:49:44: [info] device 0 [1070Ti]:     ethminer: daggerhashimoto
2018-03-24 12:49:44: [info] device 0 [1070Ti]: xmrig_nvidia: cryptonight
2018-03-24 12:49:44: [info] device 0 [1070Ti]:    excavator: blake2s,decred,cryptonight,daggerhashimoto,keccak,sia,neoscrypt
2018-03-24 12:49:44: [info] device 0 [1070Ti]:    excavator: daggerhashimoto_decred,daggerhashimoto_pascal,pascal,daggerhashimoto_sia
2018-03-24 12:49:44: [info] device 0 [1070Ti]:    excavator: lyra2rev2,equihash,lbry,nist5
2018-03-24 12:49:44: [info] device 0 [1070Ti]:     ccminer2: blake2s,keccak,neoscrypt,x11gost,x11,qubit,x13,lbry,nist5
2018-03-24 12:49:44: [info] device 1 [1080tife]:     ethminer: daggerhashimoto,daggerhashimoto
2018-03-24 12:49:44: [info] device 1 [1080tife]: xmrig_nvidia: cryptonight,cryptonight
2018-03-24 12:49:44: [info] device 1 [1080tife]:    excavator: nist5,equihash,keccak,lyra2rev2,neoscrypt,lyra2rev2,keccak,equihash
2018-03-24 12:49:44: [info] device 1 [1080tife]:    excavator: nist5,neoscrypt
2018-03-24 12:49:44: [info] device 1 [1080tife]:     ccminer2: x11gost,x11gost
2018-03-24 12:49:44: [info] device 2 [1070Ti]:  as above
2018-03-24 12:49:44: [info] device 3 [1070]:     ethminer: daggerhashimoto
2018-03-24 12:49:44: [info] device 3 [1070]: xmrig_nvidia: cryptonight
2018-03-24 12:49:44: [info] device 3 [1070]:    excavator: blake2s,decred,cryptonight,daggerhashimoto,keccak,pascal,neoscrypt
2018-03-24 12:49:44: [info] device 3 [1070]:    excavator: daggerhashimoto_decred,daggerhashimoto_pascal,sia,daggerhashimoto_sia
2018-03-24 12:49:44: [info] device 3 [1070]:    excavator: lyra2rev2,equihash,lbry,nist5
2018-03-24 12:49:44: [info] device 3 [1070]:     ccminer2: keccak,x11gost,nist5
2018-03-24 12:49:44: [info] device 4 [1080timsi]:     ethminer: daggerhashimoto,daggerhashimoto
2018-03-24 12:49:44: [info] device 4 [1080timsi]: xmrig_nvidia: cryptonight,cryptonight
2018-03-24 12:49:44: [info] device 4 [1080timsi]:    excavator: keccak,neoscrypt,equihash,lyra2rev2,nist5,nist5,equihash,keccak
2018-03-24 12:49:44: [info] device 4 [1080timsi]:    excavator: lyra2rev2,neoscrypt
2018-03-24 12:49:44: [info] device 4 [1080timsi]:     ccminer2: x11gost,x11gost
2018-03-24 12:49:44: [info] device 5 [1070Ti]:  as above
2018-03-24 12:49:44: [info] device 6 [1080Ti]:     ethminer: daggerhashimoto
2018-03-24 12:49:44: [info] device 6 [1080Ti]: xmrig_nvidia: cryptonight
2018-03-24 12:49:44: [info] device 6 [1080Ti]:    excavator: nist5,equihash,keccak,lyra2rev2,neoscrypt
2018-03-24 12:49:44: [info] device 6 [1080Ti]:     ccminer2: x11gost
2018-03-24 12:49:44: [info] device 7 [1070Ti]:  as above
2018-03-24 12:49:44: [info] device 8 [1080tiasus]:     ethminer: daggerhashimoto,daggerhashimoto
2018-03-24 12:49:44: [info] device 8 [1080tiasus]: xmrig_nvidia: cryptonight,cryptonight
2018-03-24 12:49:44: [info] device 8 [1080tiasus]:    excavator: equihash,neoscrypt,keccak,lyra2rev2,nist5,nist5,equihash,keccak
2018-03-24 12:49:44: [info] device 8 [1080tiasus]:    excavator: lyra2rev2,neoscrypt
2018-03-24 12:49:44: [info] device 8 [1080tiasus]:     ccminer2: x11gost,x11gost
2018-03-24 12:49:44: [info] device 9 [1080Ti]:  as above
2018-03-24 12:49:44: [warning] you only have calibration data for 228/270 supported algorithm/device combinations
2018-03-24 12:49:44: [info] retrieving state from miner backends
2018-03-24 12:49:45: [info] device 0 [1070Ti]: most profitable is now: ethermine/daggerhashimoto in region: None using ethminer
2018-03-24 12:49:45: [info] device 1 [1080tife]: most profitable is now: ethermine/daggerhashimoto in region: None using ethminer
2018-03-24 12:49:45: [info] device 2 [1070Ti]: most profitable is now: ethermine/daggerhashimoto in region: None using ethminer
2018-03-24 12:49:45: [info] device 3 [1070]: most profitable is now: ethermine/daggerhashimoto in region: None using ethminer
2018-03-24 12:49:45: [info] device 4 [1080timsi]: most profitable is now: ethermine/daggerhashimoto in region: None using ethminer
2018-03-24 12:49:45: [info] device 5 [1070Ti]: most profitable is now: ethermine/daggerhashimoto in region: None using ethminer
2018-03-24 12:49:45: [info] device 6 [1080Ti]: most profitable is now: flypool/equihash in region: None using excavator
2018-03-24 12:49:45: [info] device 7 [1070Ti]: most profitable is now: ethermine/daggerhashimoto in region: None using ethminer
2018-03-24 12:49:45: [info] device 8 [1080tiasus]: most profitable is now: flypool/equihash in region: None using excavator
2018-03-24 12:49:45: [info] device 9 [1080Ti]: most profitable is now: flypool/equihash in region: None using excavator
2018-03-24 12:51:25: [warning] failed to refresh data for pool: ethermine
2018-03-24 12:53:05: [warning] failed to refresh data for pool: flypool
gordan-bobic commented 6 years ago

Critical: It does seem to start mining eventually but this takes over 5 minutes.

gordan-bobic commented 6 years ago

As far as I can tell, this is directly related to these messages:

2018-03-24 12:51:25: [warning] failed to refresh data for pool: ethermine
2018-03-24 12:53:05: [warning] failed to refresh data for pool: flypool

When the API for any pool goes down, the whole thing stops.

GS stops working, too, it never renders anything.