bucket: TrieStorage, mdbx_cursor_put: input/output error"
harveyff opened this issue · comments
System information
Erigon version: ./erigon --version
v1.1.10
OS & Version: Windows/Linux/OSX
Linux
Commit hash:
./erigon --config="/root/config.toml" --sentry.drop-useless-peers
Erigon Command (with flags/config):
chain="bsc"
datadir = "/erigon/bsc"
port="30303"
http="true"
ws="true"
"snapshots"="false"
"http.port"="8585"
"authrpc.port"="8551"
"torrent.port"="30303"
"private.api.addr"="127.0.0.1:9090"
"http.api"="web3,net,eth,debug,trace,txpool"
"http.corsdomain"="*"
"http.addr"="0.0.0.0"
"http.vhosts"="*"
"maxpeers"="300"
"p2p.protocol"="66"
"rpc.gascap"="100000000"
"db.size.limit"="7696000000000"
Hi,
When I upgraded to the new version, it failed to start syncing successfully and kept getting the error below
[INFO] [12-11|09:38:53.209] [p2p] GoodPeers eth66=83
[INFO] [12-11|09:39:05.990] [9/15 IntermediateHashes] ETL [2/2] Loading into=TrieStorage current_prefix=9cf8692c
[INFO] [12-11|09:39:35.989] [9/15 IntermediateHashes] ETL [2/2] Loading into=TrieStorage current_prefix=aa17cd89
[INFO] [12-11|09:40:05.989] [9/15 IntermediateHashes] ETL [2/2] Loading into=TrieStorage current_prefix=b467571a
[INFO] [12-11|09:40:35.996] [9/15 IntermediateHashes] ETL [2/2] Loading into=TrieStorage current_prefix=beb61efc
[INFO] [12-11|09:40:53.210] [p2p] GoodPeers eth66=83
[INFO] [12-11|09:41:05.989] [9/15 IntermediateHashes] ETL [2/2] Loading into=TrieStorage current_prefix=cbfc208c
[INFO] [12-11|09:41:28.321] [9/15 IntermediateHashes] Regeneration ended
[EROR] [12-11|09:41:28.715] Staged Sync err="[9/15 IntermediateHashes] loadIntoTable TrieStorage: 9/15 IntermediateHashes: bucket: TrieStorage, append: k=ce681204f64093b1be161b9f8d53d1b6babb0bca002dce2ef14bd6a85d1b46850000000000000001010b01, v=f6880000000880371bebf4c6aea61f91c3b96f0552916b5e42d6ddf5d96fe54a0df2b19932fd, bucket: TrieStorage, mdbx_cursor_put: input/output error"
Should I unbind some blocks? Or do my configuration files need to be updated.
Thanks.
No space left on disk?
No space left on disk?
Thanks Reply,.
There is still some space, but it is really not much, only about 200G.
Because I bought AWS nvme, if I want to expand the hard disk, I can only replace it with a larger instance. Is there any other good way?
Suggest add. --db.size.limit. In my dev, the chaindata have 7.1TB, so may need more space.
Suggest add. --db.size.limit. In my dev, the chaindata have 7.1TB, so may need more space.
Hi, thanks for the reply, when I changed the hard drive to a larger one and restarted, it got an error like this,
[EROR] [12-16|04:18:02.694] Erigon startup err="mdbx_env_set_geometry: MDBX_TOO_LARGE: Database is too large for current system, e.g. could NOT be mapped into RAM"
show
make db-tools
./build/bin/mdbx_stat -ef datadir/chaindata
show make db-tools ./build/bin/mdbx_stat -ef datadir/chaindata
Thank you very much for the reply. I changed the db.pagesize from 4k to 16k and it worked normally.