Skip to content
Zhong Qiu edited this page Jun 24, 2019 · 3 revisions

问题描述

  • 矿池程序一旦出现下列日志,系统爆块就开始卡顿
17:56:17: ERROR: rpc_do_call: 127.0.0.1:14250 503
17:56:17: invalid json: <HTML><HEAD>
<TITLE>503 Service Unavailable</TITLE>
</HEAD><BODY>
<H1>Service Unavailable</H1>
</BODY></HTML>
17:56:17: ImageCoin error getblocktemplate
17:56:18: clients with no job
17:56:38: setting overflow
  • 怀疑是钱包图币分离代码导致

日志分析

x11.log

x11.log 日志处理区块307858的时间区间为: 11:57:45 --- 12:03:35. 耗时6分钟才开始处理下一个区块307859

11:57:14: IMG 307857 - diff 259766.412449567 job 3bc to 3/3/3 clients, hash 45415.149/18594804.101 in 0.0 ms
11:57:45: IMG 307858 - diff 299147.840052300 job 3bd to 3/3/3 clients, hash 40196.119/21413836.495 in 0.0 ms
11:58:21: IMG 307858 - diff 299147.840052300 job 3be to 3/3/3 clients, hash 37472.076/21413836.495 in 0.1 ms
11:59:06: IMG 307858 - diff 299147.840052300 job 3bf to 3/3/3 clients, hash 35110.449/21413836.495 in 0.1 ms
11:59:51: IMG 307858 - diff 299147.840052300 job 3c0 to 3/3/3 clients, hash 36071.967/21413836.495 in 0.1 ms
12:00:36: IMG 307858 - diff 299147.840052300 job 3c1 to 3/3/3 clients, hash 41633.259/21413836.495 in 0.1 ms
12:00:36: ERROR: rpc_do_call: 127.0.0.1:14250 400
12:00:36: invalid json: <HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
</BODY></HTML>
12:00:36: *** REJECTED :( ImageCoin block 307858 7 txs
12:01:43: IMG 307858 - diff 299147.840052300 job 3c2 to 3/3/3 clients, hash 62491.013/21413836.495 in 0.1 ms
12:02:28: IMG 307858 - diff 299147.840052300 job 3c3 to 3/3/3 clients, hash 62250.888/21413836.495 in 0.1 ms
12:03:35: IMG 307858 - diff 299147.840052300 job 3c4 to 3/3/3 clients, hash 48224.903/21413836.495 in 0.1 ms
12:04:02: IMG 307859 - diff 209882.495901116 job 3c5 to 3/3/3 clients, hash 44762.322/15023974.265 in 0.0 ms

ImageCoind 日志

ImageCoind 日志处理区块307858的时间区间为: 2019-06-24 04:04:11 --- 2019-06-24 04:06:42.

仅耗时2.5分钟. 且这段时间没有执行任何图币分离的代码.

2019-06-24 04:03:57 receive version message: /ImageCoin Core:0.13.1.2/: version 70218, blocks=307857, us=[2402:1f00:8001:2b::]:35734, peer=3846
2019-06-24 04:03:57 AdvertiseLocal: advertising address [2402:1f00:8001:2b::]:6998
2019-06-24 04:03:57 ThreadSocketHandler -- removing node: peer=3846 addr=[2a03:4000:1a:699::1]:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:03:58 connect() to 14.120.114.176:6998 failed after select(): Connection refused (111)
2019-06-24 04:03:59 connect() to 171.250.26.39:6998 failed after select(): Connection refused (111)
2019-06-24 04:04:00 UpdateTip: new best=000000000000226e819d0839c5626bd9dccebb6c55fec870cee1c036748bbc7a  height=307858  log2_work=65.33651  tx=335143  date=2019-06-24 04:03:35 progress=1.000000  cache=0.4MiB(2471txo)
2019-06-24 04:04:00 ProcessNewBlock : ACCEPTED
2019-06-24 04:04:00 CMasternodePayments::FillBlockPayee -- Masternode payment 251912169 to Mp5TpXzgZ12U8JXmRYPhNdkHd2toxCceie
2019-06-24 04:04:00 CreateNewBlock(): total size 39539637 txs: 4 fees: 39538638 sigops 108
2019-06-24 04:04:03 CMasternodeMan::CheckAndRemove
2019-06-24 04:04:03 CMasternodeMan::CheckAndRemove -- Masternodes: 360, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 0, entries in Masternode list we asked for: 0, nDsqCount: 0
2019-06-24 04:04:03 CMasternodePayments::CheckAndRemove -- Votes: 48213, Blocks: 5011
2019-06-24 04:04:03 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2019-06-24 04:04:11 ProcessMessages: advertising address 139.99.120.43:6998
2019-06-24 04:04:11 receive version message: /ImageCoin Core:0.13.1.2/: version 70217, blocks=307858, us=139.99.120.43:39298, peer=3847
2019-06-24 04:04:11 AdvertiseLocal: advertising address 139.99.120.43:6998
2019-06-24 04:04:13 ProcessMessages: advertising address 139.99.120.43:6998
2019-06-24 04:04:13 receive version message: /ImageCoin Core:0.13.1.2/: version 70217, blocks=307858, us=139.99.120.43:45040, peer=3848
2019-06-24 04:04:13 AdvertiseLocal: advertising address 139.99.120.43:6998
2019-06-24 04:04:13 ThreadSocketHandler -- removing node: peer=3848 addr=37.187.127.238:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:04:14 ThreadSocketHandler -- removing node: peer=3847 addr=51.77.213.72:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:04:17 CMasternodePayments::FillBlockPayee -- Masternode payment 251913041 to Mp5TpXzgZ12U8JXmRYPhNdkHd2toxCceie
2019-06-24 04:04:17 CreateNewBlock(): total size 39541370 txs: 5 fees: 39540371 sigops 153
2019-06-24 04:04:20 connect() to [2804:d49:d9e:4200:2156:bebf:a330:7f31]:6998 failed after select(): No route to host (113)
2019-06-24 04:04:27 CMasternodeMan::ProcessVerifyBroadcast -- verified masternode 1e7790726023dd39593e57a1726b31666162d50942f745f698fbb0e73209b933-1 for addr 103.127.246.12:6998
2019-06-24 04:04:45 ThreadSocketHandler -- removing node: peer=3849 addr=45.76.226.207:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:04:49 CWalletDB::CWalletDB: Image file: <image.dat>
2019-06-24 04:04:52 ThreadSocketHandler -- removing node: peer=3850 addr=144.202.51.98:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:04:52 connect() to 170.80.47.142:6998 failed after select(): Connection refused (111)
2019-06-24 04:04:54 connect() to 54.37.236.62:6998 failed after select(): Connection refused (111)
2019-06-24 04:04:56 connect() to 51.15.196.41:6998 failed after select(): Connection refused (111)
2019-06-24 04:04:57 connect() to 45.55.50.86:6998 failed after select(): Connection refused (111)
2019-06-24 04:04:58 ProcessMessages: advertising address [2402:1f00:8001:2b::]:6998
2019-06-24 04:04:58 receive version message: /ImageCoin Core:0.13.1.2/: version 70218, blocks=307858, us=[2402:1f00:8001:2b::]:49532, peer=3851
2019-06-24 04:04:58 AdvertiseLocal: advertising address [2402:1f00:8001:2b::]:6998
2019-06-24 04:04:58 ThreadSocketHandler -- removing node: peer=3851 addr=[2a03:4000:1a:699::10]:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:05:00 connect() to [2804:7f3:8a:a1bc:6cff:bd28:a660:2604]:6998 failed after select(): No route to host (113)
2019-06-24 04:05:01 connect() to [2804:1b0:f196:34e8:9987:1cb2:4f1:3b90]:6998 failed after select(): No route to host (113)
2019-06-24 04:05:03 CMasternodeMan::CheckAndRemove
2019-06-24 04:05:03 CMasternodeMan::CheckAndRemove -- Masternodes: 360, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 0, entries in Masternode list we asked for: 0, nDsqCount: 0
2019-06-24 04:05:03 CMasternodePayments::CheckAndRemove -- Votes: 48213, Blocks: 5011
2019-06-24 04:05:03 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2019-06-24 04:05:08 connect() to [2804:b4:bab7:8000:f073:1e40:219b:5231]:6998 failed after select(): No route to host (113)
2019-06-24 04:05:13 ProcessMessages: advertising address 139.99.120.43:6998
2019-06-24 04:05:13 receive version message: /ImageCoin Core:0.13.1.2/: version 70218, blocks=307858, us=139.99.120.43:52224, peer=3852
2019-06-24 04:05:13 AdvertiseLocal: advertising address 139.99.120.43:6998
2019-06-24 04:05:13 ThreadSocketHandler -- removing node: peer=3852 addr=94.16.122.165:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:05:14 ProcessMessages: advertising address 139.99.120.43:6998
2019-06-24 04:05:14 receive version message: /ImageCoin Core:0.13.1.2/: version 70218, blocks=307858, us=139.99.120.43:55988, peer=3853
2019-06-24 04:05:14 AdvertiseLocal: advertising address 139.99.120.43:6998
2019-06-24 04:05:14 ThreadSocketHandler -- removing node: peer=3853 addr=45.32.210.183:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:05:14 ProcessMessages: advertising address 139.99.120.43:6998
2019-06-24 04:05:14 receive version message: /ImageCoin Core:0.13.1.2/: version 70217, blocks=307858, us=139.99.120.43:46902, peer=3854
2019-06-24 04:05:14 AdvertiseLocal: advertising address 139.99.120.43:6998
2019-06-24 04:05:15 connect() to [2804:1b0:f196:34e8:5c34:4cd:645e:cd06]:6998 failed after select(): No route to host (113)
2019-06-24 04:05:15 ProcessMessages: advertising address 139.99.120.43:6998
2019-06-24 04:05:15 receive version message: /ImageCoin Core:0.13.1.2/: version 70218, blocks=307858, us=139.99.120.43:57830, peer=3855
2019-06-24 04:05:15 AdvertiseLocal: advertising address 139.99.120.43:6998
2019-06-24 04:05:15 ThreadSocketHandler -- removing node: peer=3855 addr=45.77.217.47:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:05:16 ProcessMessages: advertising address 139.99.120.43:6998
2019-06-24 04:05:16 receive version message: /ImageCoin Core:0.13.1.2/: version 70218, blocks=307858, us=139.99.120.43:42366, peer=3856
2019-06-24 04:05:16 AdvertiseLocal: advertising address 139.99.120.43:6998
2019-06-24 04:05:16 ThreadSocketHandler -- removing node: peer=3856 addr=45.77.137.132:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:05:16 ThreadSocketHandler -- removing node: peer=3854 addr=51.38.70.238:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:05:21 connect() to [2804:1b0:f195:dde9:4802:c5c8:32e7:34f6]:6998 failed after select(): No route to host (113)
2019-06-24 04:05:22 socket recv error Connection reset by peer (104)
2019-06-24 04:05:22 ThreadSocketHandler -- removing node: peer=3857 addr=45.76.31.92:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:05:23 ThreadSocketHandler -- removing node: peer=3858 addr=45.63.76.74:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:05:27 connect() to [2408:832e:2080:250:cd8b:2fd0:9a9e:12bd]:6998 failed after select(): No route to host (113)
2019-06-24 04:05:28 ThreadSocketHandler -- removing node: peer=3859 addr=66.42.113.92:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:05:34 ThreadSocketHandler -- removing node: peer=3860 addr=104.238.165.234:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:05:34 connect() to 149.28.20.166:6998 failed after select(): Connection refused (111)
2019-06-24 04:05:36 connect() to 207.246.71.175:6998 failed after select(): No route to host (113)
2019-06-24 04:05:37 ProcessMessages: advertising address 139.99.120.43:6998
2019-06-24 04:05:37 receive version message: /ImageCoin Core:0.13.1.2/: version 70217, blocks=307858, us=139.99.120.43:41300, peer=3861
2019-06-24 04:05:37 AdvertiseLocal: advertising address 139.99.120.43:6998
2019-06-24 04:05:37 ThreadSocketHandler -- removing node: peer=3861 addr=79.137.85.87:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:06:03 connect() to [2804:7f1:1280:e981:982c:6e02:8e05:f0ea]:6998 failed after select(): Permission denied (13)
2019-06-24 04:06:04 CMasternodeMan::CheckAndRemove
2019-06-24 04:06:04 CMasternodeMan::CheckAndRemove -- Masternodes: 360, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 0, entries in Masternode list we asked for: 0, nDsqCount: 0
2019-06-24 04:06:04 CMasternodePayments::CheckAndRemove -- Votes: 48213, Blocks: 5011
2019-06-24 04:06:04 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2019-06-24 04:06:18 CWalletDB::CWalletDB: Image file: <image.dat>
2019-06-24 04:06:33 connect() to [2804:7f3:4980:844b:e8ef:17d6:feff:fe5e]:6998 failed after select(): Permission denied (13)
2019-06-24 04:06:34 connect() to [2408:8207:c12:5ee0:1440:84a:d264:19d5]:6998 failed after select(): No route to host (113)
2019-06-24 04:06:40 connect() to 212.47.236.232:6998 failed after select(): Connection refused (111)
2019-06-24 04:06:42 ProcessMessages: advertising address 139.99.120.43:6998
2019-06-24 04:06:42 receive version message: /ImageCoin Core:0.13.1.2/: version 70218, blocks=307858, us=139.99.120.43:40402, peer=3862
2019-06-24 04:06:42 AdvertiseLocal: advertising address 139.99.120.43:6998
2019-06-24 04:06:42 ThreadSocketHandler -- removing node: peer=3862 addr=95.216.35.61:6998 nRefCount=1 fNetworkNode=1 fInbound=0 fMasternode=0
2019-06-24 04:06:46 UpdateTip: new best=0000000000001b5588cb4cf5e3717cba08914329353871fe431267d50b3b1287  height=307859  log2_work=65.336538  tx=335145  date=2019-06-24 04:05:52 progress=0.999999  cache=0.4MiB(2518txo)
2019-06-24 04:06:46 ProcessNewBlock : ACCEPTED
2019-06-24 04:06:46 CMasternodePayments::FillBlockPayee -- Masternode payment 251912169 to Md33pL82M2B6kpgqvodJKDDHa4bZrSCupB
2019-06-24 04:06:46 CreateNewBlock(): total size 39539637 txs: 4 fees: 39538638 sigops 108
2019-06-24 04:06:49 ProcessMessages: advertising address 139.99.120.43:6998
2019-06-24 04:06:49 receive version message: /ImageCoin Core:0.13.1.2/: version 70218, blocks=307859, us=139.99.120.43:48326, peer=3863
Clone this wiki locally