workbenchapp / solana-workbench

Your one-stop shop for developing on Solana
MIT License
63 stars 7 forks source link

[validator] don't fill disk up w/ validator #45

Open nathanleclaire opened 2 years ago

nathanleclaire commented 2 years ago

i think we need https://docs.docker.com/config/containers/logging/local/#options innit

can add at https://github.com/workbenchapp/solana-workbench/blob/b7a571bd3303588860963f768f742713eefada6b/src/main/validator.ts#L60

SvenDowideit commented 2 years ago

that will help too, but the validator is coded to use 100GB disk - and that's bad mkay :)

nathanleclaire commented 2 years ago

ah, yea they have defaults anyway so that isn't it. is it the ledger that's the problem? --limit-ledger-size 50000000 is set fwiw

SvenDowideit commented 2 years ago

yup - 50000000 is 100GB, or 3.5 days of data at idle :)

nathanleclaire commented 2 years ago

Oh goodness, the default is 10000 shreds. not sure what I was thinking setting it that way