bsc icon indicating copy to clipboard operation
bsc copied to clipboard

v1.3.7,Fatal: Could not open database: MemTableSize (4.0GB) must be < 4.0GB

Open CNDingSi opened this issue 2 years ago • 2 comments

System information

Geth Version: 1.3.7 Git Commit: f28b98a9947b52816714f90326b2545b08606b1a Git Commit Date: 20231219 Architecture: amd64 Go Version: go1.20.2 Operating System: linux

Expected behaviour

Running below command: geth --config ./config.toml --datadir ./node --cache 51200 --rpc.allow-unprotected-txs --history.transactions=0 --syncmode=full --tries-verify-mode=local --pruneancient --db.engine=pebble --rpc.txfeecap 0 --rpc.gascap 0

Actual behaviour

root@Ubuntu-2204-jammy-amd64-base /jiedian/bsc # geth --config ./config.toml --datadir ./node  --cache 86016 --rpc.allow-unprotected-txs --history.transactions=0 --syncmode=full --tries-verify-mode=local --pruneancient --db.engine=pebble --rpc.txfeecap 0 --rpc.gascap 0
INFO [12-19|15:25:12.298] Starting Geth on BSC mainnet...
INFO [12-19|15:25:12.299] Maximum peer count                       ETH=200 LES=0 total=200
INFO [12-19|15:25:12.300] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [12-19|15:25:12.300] Using pebble as db engine
Fatal: Could not open database: MemTableSize (4.0GB) must be < 4.0GB

Steps to reproduce the behaviour

When submitting logs: please submit them as text and not screenshots.

CNDingSi avatar Dec 19 '23 14:12 CNDingSi

remove --cache flag or reduce to under 4gib

serfiraz21 avatar Dec 20 '23 02:12 serfiraz21

Please lower you cache setting -cache 51200 to run . The upstream pebble(https://github.com/cockroachdb/pebble/pull/3008) exist an issue about it and we will have a temp fix on it.

flywukong avatar Dec 20 '23 02:12 flywukong