1 2 3 4 5 6 7 8 9 10 | info 2019-01-24T01:40:37.000 thread-0 producer_plugin.cpp:1490 produce_block ] Produced block 0015bb7995027940... #1424249 @ 2019-01-24T01:40:37.000 signed by eosio [trxs: 0, lib: 1424248, confirmed: 0] error 2019-01-24T01:40:37.500 thread-0 chain_plugin.cpp:969 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! debug 2019-01-24T01:40:37.500 thread-0 chain_plugin.cpp:975 log_guard_exception ] Details: 3060101 database_guard_exception: Database usage is at unsafe levels database free: 134217280, guard size: 134217728 {"f":134217280,"g":134217728} thread-0 controller.cpp:2073 validate_db_available_size info 2019-01-24T01:40:37.500 thread-0 net_plugin.cpp:3049 plugin_shutdown ] shutdown.. info 2019-01-24T01:40:37.501 thread-0 net_plugin.cpp:3052 plugin_shutdown ] close acceptor info 2019-01-24T01:40:37.501 thread-0 net_plugin.cpp:3055 plugin_shutdown ] close 0 connections info 2019-01-24T01:40:37.501 thread-0 net_plugin.cpp:3063 plugin_shutdown ] exit shutdown | cs |
디비 사용량 초과 에러가 뜬 경우, 해결방법은 사용가능한 크기를 늘려주면 된다.
1 | nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::chain_plugin --plugin eosio::chain_api_plugin --plugin eosio::http_plugin --plugin eosio::history_plugin --plugin eosio::history_api_plugin --data-dir CONTRACTS_DIR/eosio/data --config-dir CONTRACTS_DIR/eosio/config --access-control-allow-origin='*' --contracts-console --http-validate-host=false --verbose-http-errors --filter-on='*' --http-server-address=0.0.0.0:8888 --http-alias=fabius.ciceron.xyz:8888 --chain-state-db-size-mb=3072 >> nodeos.log 2>&1 & | cs |
nodeos를 실행할 때, --chain-state-db-size-mb=3072 를 추가해서 사용 가능한 크기를 설정해준다.
참고
'Blockchain' 카테고리의 다른 글
[EOS] 2018 EOS Hackathon Mentor TEST (0) | 2019.04.03 |
---|---|
[EOS] EOS에 대한 기본 테스트 (0) | 2019.03.18 |
[EOS] EOSIO Software config 위치 (0) | 2019.03.18 |