eos icon indicating copy to clipboard operation
eos copied to clipboard

Why did main network synchronization fail in a while??version 1.0.5

Open shishi614 opened this issue 8 years ago • 10 comments

52337ms thread-0 http_plugin.cpp:377 add_handler ] add api url: /v1/wallet/sign_digest 52337ms thread-0 http_plugin.cpp:377 add_handler ] add api url: /v1/wallet/sign_transaction 52337ms thread-0 http_plugin.cpp:377 add_handler ] add api url: /v1/wallet/unlock 52337ms thread-0 history_api_plugin.cpp:38 plugin_startup ] starting history_api_plugin 52337ms thread-0 http_plugin.cpp:377 add_handler ] add api url: /v1/history/get_actions 52337ms thread-0 http_plugin.cpp:377 add_handler ] add api url: /v1/history/get_controlled_accounts 52337ms thread-0 http_plugin.cpp:377 add_handler ] add api url: /v1/history/get_key_accounts 52337ms thread-0 http_plugin.cpp:377 add_handler ] add api url: /v1/history/get_transaction 52337ms thread-0 producer_plugin.cpp:577 plugin_startup ] producer plugin: plugin_startup() begin 52338ms thread-0 producer_plugin.cpp:604 plugin_startup ] producer plugin: plugin_startup() end 106896ms thread-0 producer_plugin.cpp:290 on_incoming_block ] Received block ddc03486114e6a1c... #1000 @ 2018-06-09T12:06:33.000 signed by eosio [trxs: 1, lib: 999, conf: 0, latency: 651313896 ms] 158204ms thread-0 net_plugin.cpp:1055 operator() ] Error sending to peer bp.eosbeijing.one:8080: Operation canceled 158204ms thread-0 net_plugin.cpp:2187 operator() ] Error reading message from bp.eosbeijing.one:8080: Bad file descriptor 172413ms thread-0 net_plugin.cpp:1969 connect ] host: bp.eosbeijing.one port: 8080 182464ms thread-0 net_plugin.cpp:2011 operator() ] connection failed to node1.liquideos.com:9876: Connection timed out 182526ms thread-0 net_plugin.cpp:1055 operator() ] Error sending to peer node1.liquideos.com:9876: Broken pipe 198690ms thread-0 producer_plugin.cpp:290 on_incoming_block ] Received block 206e680a75958c81... #2000 @ 2018-06-09T12:14:53.000 signed by eosio [trxs: 1, lib: 1999, conf: 0, latency: 650905690 ms] 202512ms thread-0 net_plugin.cpp:1969 connect ] host: node1.liquideos.com port: 9876 280127ms thread-0 producer_plugin.cpp:290 on_incoming_block ] Received block 3755ae4c7e9c5751... #3000 @ 2018-06-09T12:23:13.500 signed by eosio [trxs: 1, lib: 2999, conf: 0, latency: 650486627 ms] 331983ms thread-0 net_plugin.cpp:2011 operator() ] connection failed to node1.liquideos.com:9876: Connection timed out 352812ms thread-0 net_plugin.cpp:1969 connect ] host: node1.liquideos.com port: 9876 362943ms thread-0 producer_plugin.cpp:290 on_incoming_block ] Received block b7540f01a5ff33f0... #4000 @ 2018-06-09T12:31:34.500 signed by eosio [trxs: 0, lib: 3999, conf: 0, latency: 650068443 ms] terminate called after throwing an instance of 'boost::interprocess::bad_alloc' what(): boost::interprocess::bad_alloc

thanks

shishi614 avatar Jun 17 '18 01:06 shishi614

I’m having the very same issues

w00tcoin avatar Jun 17 '18 07:06 w00tcoin

Help I am also having this issue, it fail at the block #4000

  • originally i dont have any problem, but i got zero row when running cleos get actions eosio.token
  • so i added the line --filter-on = * on my config file -after adding that line and reboot my node i cant get pass block 4000 any more please help

fundurian avatar Jun 17 '18 10:06 fundurian

so i added the line --filter-on = * on my config file

Don't do that. * is for automated tests only. It can't handle the main net.

tbfleming avatar Jun 17 '18 11:06 tbfleming

@tbfleming what do you mean it can't handle filter-on = * ? What is the It that can't handle the main net? I'm not running out of memory, or disk space etc.

Any other suggestions on how to build a full history of actions on a node?

Also I'm very sure that in the first 4000 blocks there were very few transactions/actions going on...

Nadejde avatar Jun 17 '18 12:06 Nadejde

If you need to track all transactions, then you need one of the database plugins which are under development. The history plugin can't handle that load on the mainnet.

tbfleming avatar Jun 17 '18 12:06 tbfleming

How do the big block producers do it then? The apis they expose seem to have full action history for all accounts?

Nadejde avatar Jun 17 '18 12:06 Nadejde

If you need to track all transactions, then you need one of the database plugins which are under development. The history plugin can't handle that load on the mainnet.

how to config ???thanks

shishi614 avatar Jun 17 '18 13:06 shishi614

You can't yet. Database plugins are under development by the community.

tbfleming avatar Jun 17 '18 14:06 tbfleming

@shishi614 this is what I did:

Went into ~/.local/share/eosio/nodeos/config/config.ini and changed chain-state-db-size-mb = 40240.

I gave it 40gb of memory because I can but it seems that it's total overkill:) I've been monitoring the process and it does not go over 4g.

I've been resyncing my node. Up to block 800000 and no issues so far.

Nadejde avatar Jun 17 '18 15:06 Nadejde

same issue

kein-S avatar Jun 24 '18 03:06 kein-S