Constant disk I/O writes from LND #8929
-
My SSD is blinking non-stop since installing LND. I used the iotop command to see what's causing it. I see lnd at the top all the time, nonstop: The lnd is constantly writing to disk. This will damage the disk eventually, running 24/7 This issue seems related but it's from 4 years ago and already closed: The node itself is working fine and I can send lightning payments. But this constant disk write needs to be fixed. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
But you can reduce the interval in which that happens (which has its own set of tradeoffs):
|
Beta Was this translation helpful? Give feedback.
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.
That's exactly what's happening, the
db.batch-commit-interval
dictates how often it's written from RAM to disk.Yes, you'll need to add
db.batch-commit-interval=1m
to thelnd.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…