Fantom-foundation / go-opera

Opera blockchain protocol secured by the Lachesis consensus algorithm
https://fantom.foundation/
GNU Lesser General Public License v3.0
278 stars 282 forks source link

Go-Opera Version: 1.1.2-txtracing-rc.2 full-node takes up a lot of disk space #411

Closed zhy827827 closed 1 year ago

zhy827827 commented 1 year ago

hi, i update Go-Opera to 1.1.2-txtracing-rc.2. After running for two days, I found a problem: the disk space grew very fast,add 1T more disks a day My configuration is: /home/ubuntu/go-opera/build/opera --genesis /opt/rockx/data/mainnet.g-5577 --tracenode --db.migration.mode reformat --db.preset=legacy-ldb --syncmode full --gcmode full --http --http.addr 0.0.0.0 --http.vhosts= --http.api=eth,web3,net,ftm,sfc,trace --http.corsdomain= --ws --ws.origins=* --datadir /opt/rockx/data/.opera --maxpeers 100

Go-Opera to 1.1.1-txtracing-rc.2 full-node use disk 3T but Go-Opera to 1.1.2-txtracing-rc.2 full-node user disk 5T+

Does anyone have the same problem?

hadv commented 1 year ago

Hi @zhy827827,

there's an issue of leveldb on txtracing/1.1.2-rc.2 that make diskspace issue. You can use txtracing/1.1.2-rc.5 instead

https://github.com/Fantom-foundation/go-opera/tree/release/txtracing/1.1.2-rc.5

quan8 commented 1 year ago

Hi @zhy827827 , please use our latest release.