Other > YOYOW
YOYOW测试程序包下载地址及使用说明
dirnet:
--- Quote from: 华探长 on August 23, 2017, 10:23:26 am ---加了--replay,反复启动了好几次,静止在这里
--- End quote ---
时钟同步的问题,我也遇到过,系统默认的NTP同步不了,现在用的阿里云的NTP
Unix 类: time1-7.aliyun.com
Windows: time.pool.aliyun.com
yoyowd:
--- Quote from: anychto on August 23, 2017, 10:48:21 am ---既然是正常情况看来不用担心了……kill我不确定是自己screen误操作还是系统自动终止了。0.75G的内存配置似乎有点小了。跑节点后期占用内存会越来越大么。
对了,有什么办法可以把node运行的输出打印到文件里方便之后查看并寻找问题么。
--- End quote ---
内存确实会越用越多。
node输出有日志文件,在 yoyow_node_data_dir/logs/default 里面,目前只保存最近24小时日志。
yoyowd:
--- Quote from: 华探长 on August 23, 2017, 10:23:26 am ---加了--replay,反复启动了好几次,静止在这里
yoyow_node --rpc-endpoint -w 209420725 --private-key "
--- End quote ---
检查系统时间,精确到秒。
anychto:
--- Quote from: yoyowd on August 22, 2017, 09:05:04 pm ---
--- Quote from: anychto on August 22, 2017, 03:33:54 pm ---
--- Code: ---2928481ms th_a application.cpp:573 handle_block ] Got block: #129615 0001fa4feda3bf61184ddf510bb0d64a9f80c1d0 time: 2017-08-22T14:48:48 latency: 481 ms from: 209413652/j
eff irreversible: 129591 (-24)
2931557ms th_a application.cpp:573 handle_block ] Got block: #129616 0001fa50fb4583ab5d0cf8647c6987aeb3fef269 time: 2017-08-22T14:48:51 latency: 557 ms from: 209416038/d
umdumgal irreversible: 129592 (-24)
2934867ms th_a application.cpp:573 handle_block ] Got block: #129617 0001fa513108ef8b2c064e1f84ce25337629b9c2 time: 2017-08-22T14:48:54 latency: 867 ms from: 25997/init1
irreversible: 129593 (-24)
2940790ms th_a application.cpp:573 handle_block ] Got block: #129619 0001fa53be2136895b2e421d0dc19feb28105cc7 time: 2017-08-22T14:49:00 latency: 790 ms from: 209414065/a
bit irreversible: 129594 (-25)
2940791ms th_a fork_database.cpp:66 push_block ] Pushing block to fork database that failed to link: 0001fa53be2136895b2e421d0dc19feb28105cc7, 129619
2940791ms th_a fork_database.cpp:67 push_block ] Head: 129617, 0001fa513108ef8b2c064e1f84ce25337629b9c2
2940822ms th_a application.cpp:602 handle_block ] Error when pushing block:
3080000 unlinkable_block_exception: unlinkable block
block does not link to known chain
{}
th_a fork_database.cpp:87 _push_block
{"new_block":{"previous":"0001fa52390a055afa6e89e0b93b51b3ab6f798e","timestamp":"2017-08-22T14:49:00","witness":209414065,"transaction_merkle_root":"0000000000000000000000000000000000000000
","witness_signature":"204e6e4147cff8a1274daf0c8cdf47341414b43fd34caa676ca764d307a2bc0778171f5491ada4fa11763c555161763fbe6101758ba454645177d7173c8af837cf","transactions":[]}}
th_a db_block.cpp:208 _push_block
2941125ms th_a application.cpp:573 handle_block ] Got block: #129618 0001fa52390a055afa6e89e0b93b51b3ab6f798e time: 2017-08-22T14:48:57 latency: 4125 ms from: 209411264/blockman irreversible: 129594 (-24)
2943562ms th_a application.cpp:573 handle_block ] Got block: #129620 0001fa54694a498ab7c794dee652bdb53c15cc79 time: 2017-08-22T14:49:03 latency: 562 ms from: 209411732/kimziv irreversible: 129594 (-26)
2946861ms th_a application.cpp:573 handle_block ] Got block: #129621 0001fa554363f2cd4b0cb2a0acf46a990eabc2b3 time: 2017-08-22T14:49:06 latency: 861 ms from: 25997/init1 irreversible: 129594 (-27)
2949548ms th_a application.cpp:573 handle_block ] Got block: #129622 0001fa563164714e90ec4d02915bf5ce32c0f3bb time: 2017-08-22T14:49:09 latency: 548 ms from: 209416038/dumdumgal irreversible: 129594 (-28)
Killed
--- End code ---
之前是正常接收和出块的消息。然后后面不知为何出错……启动命令里已经加上
--- Code: -----replay
--- End code ---
了。
另外进程被kill之后似乎见证人没有自动下线……?因此错过了十几个block generation了……
--- End quote ---
偶尔出现 unlinkable block 属于正常情况,特别是你的节点或者他人节点网络不稳定的时候,以及重新从头开始同步的时候。
出于网络整体安全方面考虑,被动触发离线需要等比较长一段时间,现在测试网里这个参数是3小时。具体参数可以用get_global_properties命令看。
另外,kill是你主动发起的?如果不是,可能原因是内存不足。
--- End quote ---
既然是正常情况看来不用担心了……kill我不确定是自己screen误操作还是系统自动终止了。0.75G的内存配置似乎有点小了。跑节点后期占用内存会越来越大么。
对了,有什么办法可以把node运行的输出打印到文件里方便之后查看并寻找问题么。
华探长:
加了--replay,反复启动了好几次,静止在这里
yoyow_node --rpc-endpoint -w 209420725 --private-key "[\"YYW6DyRW3fh3ZJoyLi3BGiWrcb7uUjaxWXMRGfvenWc4Pey9Di1TV\",\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"]" --replay
741357ms th_a witness.cpp:87 plugin_initialize ] witness plugin: plugin_initialize() begin
741357ms th_a witness.cpp:98 plugin_initialize ] Public Key: YYW6DyRW3fh3ZJoyLi3BGiWrcb7uUjaxWXMRGfvenWc4Pey9Di1TV
741365ms th_a witness.cpp:98 plugin_initialize ] Public Key: YYW6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
741376ms th_a witness.cpp:116 plugin_initialize ] witness plugin: plugin_initialize() end
741386ms th_a application.cpp:414 startup ] Replaying blockchain on user request.
741389ms th_a application.cpp:352 operator () ] Initializing database...
741402ms th_a db_management.cpp:51 reindex ] reindexing blockchain
741402ms th_a db_management.cpp:104 wipe ] Wiping database
741406ms th_a db_management.cpp:170 close ] Database close unexpected exception: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"index.hpp","line":111,"method":"graphene::db::index::get","hostname":"","thread_name":"th_a","timestamp":"2017-08-23T10:12:21"},"format":"maybe_found != nullptr: Unable to find Object","data":{"id":"2.1.0"}}]}
741550ms th_a object_database.cpp:87 wipe ] Wiping object database...
742188ms th_a object_database.cpp:89 wipe ] Done wiping object databse.
742188ms th_a object_database.cpp:94 open ] Opening object database from C:/yoyow-x64-20170818/yoyow_node_data_dir/blockchain ...
742196ms th_a object_database.cpp:100 open ] Done opening object database.
742203ms th_a db_update.cpp:773 adjust_budgets ] budgets adjusted on block 0, next scheduled adjust block is 14400
742208ms th_a db_update.cpp:749 update_committee ] committee updated on block 0, next scheduled update block is 4800
742217ms th_a db_management.cpp:128 open ] last_block->id(): 0002518d12ea86c234b562eaffcd182e3d26bcf5 last_block->block_num(): 151949
742223ms th_a db_management.cpp:129 open ] head_block_id(): 0000000000000000000000000000000000000000 head_block_num(): 0
742232ms th_a db_management.cpp:65 reindex ] Replaying blocks...
742345ms th_a db_update.cpp:749 update_committee ] committee updated on block 4800, next scheduled update block is 9600
3.29058% 5000 of 151949
742467ms th_a db_update.cpp:749 update_committee ] committee updated on block 9600, next scheduled update block is 14400
6.58116% 10000 of 151949
742624ms th_a db_update.cpp:749 update_committee ] committee updated on block 14400, next scheduled update block is 19200
742629ms th_a db_update.cpp:773 adjust_budgets ] budgets adjusted on block 14400, next scheduled adjust block is 28800
9.87173% 15000 of 151949
742824ms th_a db_update.cpp:749 update_committee ] committee updated on block 19200, next scheduled update block is 24000
13.1623% 20000 of 151949
743043ms th_a db_update.cpp:749 update_committee ] committee updated on block 24000, next scheduled update block is 28800
16.4529% 25000 of 151949
743258ms th_a db_update.cpp:749 update_committee ] committee updated on block 28800, next scheduled update block is 33600
743263ms th_a db_update.cpp:773 adjust_budgets ] budgets adjusted on block 28800, next scheduled adjust block is 43200
19.7435% 30000 of 151949
743485ms th_a db_update.cpp:749 update_committee ] committee updated on block 33600, next scheduled update block is 38400
23.034% 35000 of 151949
743704ms th_a db_update.cpp:749 update_committee ] committee updated on block 38400, next scheduled update block is 43200
26.3246% 40000 of 151949
743924ms th_a db_update.cpp:749 update_committee ] committee updated on block 43200, next scheduled update block is 48000
743929ms th_a db_update.cpp:773 adjust_budgets ] budgets adjusted on block 43200, next scheduled adjust block is 57600
29.6152% 45000 of 151949
744154ms th_a db_update.cpp:749 update_committee ] committee updated on block 48000, next scheduled update block is 52800
32.9058% 50000 of 151949
744376ms th_a db_update.cpp:749 update_committee ] committee updated on block 52800, next scheduled update block is 57600
36.1964% 55000 of 151949
744594ms th_a db_update.cpp:749 update_committee ] committee updated on block 57600, next scheduled update block is 62400
744600ms th_a db_update.cpp:773 adjust_budgets ] budgets adjusted on block 57600, next scheduled adjust block is 72000
39.4869% 60000 of 151949
744825ms th_a db_update.cpp:749 update_committee ] committee updated on block 62400, next scheduled update block is 67200
42.7775% 65000 of 151949
745049ms th_a db_update.cpp:749 update_committee ] committee updated on block 67200, next scheduled update block is 72000
46.0681% 70000 of 151949
745272ms th_a db_update.cpp:749 update_committee ] committee updated on block 72000, next scheduled update block is 76800
745277ms th_a db_update.cpp:773 adjust_budgets ] budgets adjusted on block 72000, next scheduled adjust block is 86400
49.3587% 75000 of 151949
745516ms th_a db_update.cpp:749 update_committee ] committee updated on block 76800, next scheduled update block is 81600
52.6492% 80000 of 151949
745746ms th_a db_update.cpp:749 update_committee ] committee updated on block 81600, next scheduled update block is 86400
55.9398% 85000 of 151949
745977ms th_a db_update.cpp:749 update_committee ] committee updated on block 86400, next scheduled update block is 91200
745983ms th_a db_update.cpp:773 adjust_budgets ] budgets adjusted on block 86400, next scheduled adjust block is 100800
59.2304% 90000 of 151949
746221ms th_a db_update.cpp:749 update_committee ] committee updated on block 91200, next scheduled update block is 96000
62.521% 95000 of 151949
746469ms th_a db_update.cpp:749 update_committee ] committee updated on block 96000, next scheduled update block is 100800
65.8116% 100000 of 151949
746727ms th_a db_update.cpp:749 update_committee ] committee updated on block 100800, next scheduled update block is 105600
746731ms th_a db_update.cpp:773 adjust_budgets ] budgets adjusted on block 100800, next scheduled adjust block is 115200
69.1021% 105000 of 151949
746997ms th_a db_update.cpp:749 update_committee ] committee updated on block 105600, next scheduled update block is 110400
72.3927% 110000 of 151949
747263ms th_a db_update.cpp:749 update_committee ] committee updated on block 110400, next scheduled update block is 115200
75.6833% 115000 of 151949
747534ms th_a db_update.cpp:749 update_committee ] committee updated on block 115200, next scheduled update block is 120000
747534ms th_a db_update.cpp:773 adjust_budgets ] budgets adjusted on block 115200, next scheduled adjust block is 129600
78.9739% 120000 of 151949
747808ms th_a db_update.cpp:749 update_committee ] committee updated on block 120000, next scheduled update block is 124800
748084ms th_a db_update.cpp:749 update_committee ] committee updated on block 124800, next scheduled update block is 129600
82.2644% 125000 of 151949
748372ms th_a db_update.cpp:749 update_committee ] committee updated on block 129600, next scheduled update block is 134400
748377ms th_a db_update.cpp:773 adjust_budgets ] budgets adjusted on block 129600, next scheduled adjust block is 144000
85.555% 130000 of 151949
748689ms th_a db_update.cpp:749 update_committee ] committee updated on block 134400, next scheduled update block is 139200
88.8456% 135000 of 151949
749010ms th_a db_update.cpp:749 update_committee ] committee updated on block 139200, next scheduled update block is 144000
92.1362% 140000 of 151949
749338ms th_a db_update.cpp:749 update_committee ] committee updated on block 144000, next scheduled update block is 148800
749342ms th_a db_update.cpp:773 adjust_budgets ] budgets adjusted on block 144000, next scheduled adjust block is 158400
95.4268% 145000 of 151949
749709ms th_a db_update.cpp:749 update_committee ] committee updated on block 148800, next scheduled update block is 153600
98.7173% 150000 of 151949
749908ms th_a db_management.cpp:99 reindex ] Done reindexing, elapsed time: 7.67632699999999968 sec
750154ms th_a application.cpp:211 reset_p2p_node ] Adding seed node 54.224.246.177:2017
750160ms th_a application.cpp:226 reset_p2p_node ] Configured p2p node to listen on 0.0.0.0:19223
750161ms th_a application.cpp:301 reset_websocket_serv ] Configured websocket rpc to listen on 127.0.0.1:8090
750162ms th_a witness.cpp:121 plugin_startup ] witness plugin: plugin_startup() begin
750163ms th_a witness.cpp:126 plugin_startup ] Launching block production for 1 witnesses.
750164ms th_a witness.cpp:137 plugin_startup ] witness plugin: plugin_startup() end
750165ms th_a main.cpp:179 main ] Started yoyow node on a chain with 151949 blocks.
750165ms th_a main.cpp:180 main ] Chain ID is 7ec6a131f0f5a6cc586b9d48277171143069c198348186b517b9d89c08f55eb4
751000ms th_a witness.cpp:186 block_production_loo ] Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)
752000ms th_a witness.cpp:186 block_production_loo ] Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)
753052ms th_a witness.cpp:186 block_production_loo ] Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version