0

I use the mongodb plugin and start nodeos --replay-blockchain, but something went wrong in the middle of replaying the transaction. At the same time, I found that during the replay transaction, mongod's memory footprint has been rising. After nodeos replayed a wave of transactions, the queue size of mongod kept increasing, and this error appeared, and tried several times, and the same problem occurred. My config.ini is showed as follows: chain-state-db-size-mb = 102400 reversible-blocks-db-size-mb = 20480 contracts-console = false http-server-address = 0.0.0.0:8887 p2p-listen-endpoint = 0.0.0.0:9877 p2p-server-address = 0.0.0.0:9877 http-validate-host = false verbose-http-errors = true
abi-serializer-max-time-ms = 150000

chain-threads = 2

http-threads = 2

access-control-allow-origin = * access-control-allow-headers = Origin, X-Requested-With, Content-Type, Accept

access-control-max-age =

access-control-allow-credentials = false

wasm-runtime = wabt

last-block-time-offset-us = -300000

chain-state-db-guard-size-mb = 128 reversible-blocks-db-guard-size-mb = 2 p2p-max-nodes-per-host = 150 allowed-connection = any max-clients = 150 connection-cleanup-period = 30 network-version-match = 0 sync-fetch-span = 1000 enable-stale-production = false

pause-on-startup = false

max-transaction-time = 30 max-irreversible-block-age = -1 txn-reference-block-lag = 0 read-mode = read-only validation-mode = light

plugin = eosio::chain_api_plugin

plugin = eosio::history_plugin

plugin = eosio::history_api_plugin

plugin = eosio::chain_plugin

filter-on=*

plugin = eosio::mongo_db_plugin mongodb-uri = mongodb://127.0.0.1:27017/EOS mongodb-filter-on = * mongodb-queue-size = 2048 mongodb-abi-cache-size = 2048 mongodb-block-start = 7334500 mongodb-store-block-states = 0 mongodb-store-blocks = 0 mongodb-store-transactions = 0 mongodb-store-transaction-traces = 1 mongodb-store-action-traces = 0

The error is shown as follows: enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.