新手教程 数据同步异常,节点挂了

eoszhizhutop · 2018年09月13日 · 最后由 debugfuture 回复于 2018年09月13日 · 303 次阅读
2018-09-12T20:02:19.084 thread-0   net_plugin.cpp:1914           connect              ] host: peering1.mainnet.eosasia.one port: 80 
2018-09-12T20:02:19.084 thread-0   net_plugin.cpp:1914           connect              ] host: peering2.mainnet.eosasia.one port: 80 
2018-09-12T20:02:19.084 thread-0   net_plugin.cpp:1914           connect              ] host: pub0.eosys.io port: 6637 
2018-09-12T20:02:19.084 thread-0   net_plugin.cpp:1914           connect              ] host: pub1.eosys.io port: 6637 
2018-09-12T20:02:19.084 thread-0   net_plugin.cpp:1914           connect              ] host: publicnode.cypherglass.com port: 9876 
2018-09-12T20:02:19.084 thread-0   net_plugin.cpp:1914           connect              ] host: seed1.greymass.com port: 9876 
2018-09-12T20:02:19.084 thread-0   net_plugin.cpp:1914           connect              ] host: seed2.greymass.com port: 9876 
2018-09-12T20:02:20.904 thread-0   chain_plugin.cpp:915          log_guard_exception  ] Database has reached an unsafe level of usage, shutting down to avoid corrupting the database.  Please increase the value set for "chain-state-db-size-mb" and restart the process!
2018-09-12T20:02:20.904 thread-0   chain_plugin.cpp:921          log_guard_exception  ] Details: 3060101 database_guard_exception: Database usage is at unsafe levels
database free: 134215280, guard size: 134217728
    {"f":134215280,"g":134217728}
    thread-0  controller.cpp:1839 validate_db_available_size
2018-09-12T20:02:20.904 thread-0   net_plugin.cpp:3042           plugin_shutdown      ] shutdown..
2018-09-12T20:02:20.904 thread-0   net_plugin.cpp:3045           plugin_shutdown      ] close acceptor
2018-09-12T20:02:20.904 thread-0   net_plugin.cpp:3048           plugin_shutdown      ] close 54 connections
2018-09-12T20:02:20.904 thread-0   net_plugin.cpp:1366           request_next_chunk   ] Unable to continue syncing at this time
2018-09-12T20:02:20.904 thread-0   net_plugin.cpp:3056           plugin_shutdown      ] exit shutdown
2018-09-12T20:02:20.904 thread-0   bnet_plugin.cpp:1453          plugin_shutdown      ] joining bnet threads
2018-09-12T20:02:20.904 thread-1   bnet_plugin.cpp:1425          operator()           ] end thread
2018-09-12T20:02:20.904 thread-0   bnet_plugin.cpp:1457          plugin_shutdown      ] done joining threads

我配置文件是默认的大小

Maximum size (in MiB) of the chain state database (eosio::chain_plugin)

chain-state-db-size-mb = 1024

这个值设置多大合适呢

共收到 1 条回复

这个值必须要大于当前链上实际内存大小,交易设置的稍微大点,可以为你的物理内存上限左右

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册