Skip to content

Constant disk I/O writes from LND #8929

Discussion options

You must be logged in to vote

Once a minute should be fine. The tradeoff is basically how much data you lose if your node crashes unexpectedly. So I wouldn't really use a value greater than 5 minutes.

And I'm thinking maybe this data should be saved in RAM for longer, before writing to disk...?

That's exactly what's happening, the db.batch-commit-interval dictates how often it's written from RAM to disk.

According to this link I should add the option to lnd.conf file:

Yes, you'll need to add db.batch-commit-interval=1m to the lnd.conf file in Umbrel (not sure how exactly you do that, as I'm not very familiar with Umbrel).

The leading dashes (--, mentioned above) are only needed if you specify the option as a comma…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@guitarchair
Comment options

@guggero
Comment options

Answer selected by guitarchair
@guitarchair
Comment options

@olafmarcos
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants