Digital Ocean node disk full

Hello I started a few basic droplets on digital ocean (5$/month) with 25GB ssd but they all shutdown while syncing. the console says disk full.
that means the blockchain db is too big for the small droplets now ?

Would it be worth is to spend 10$/month per node ? any way to make it fit on 25gb?

thank you !

Hi, How did you start the nodes on Digital Ocean? I used fast deploy as well as NKN Commercial recently after July 2020 mainnet 2.0, and they all work fine on 25GB $5 droplet. Your node should have enabled “pruning” by default, which should reduce the size of blockchain database size.

i use the one click available on digitalocean marketplace. no setting change.
try it yourself, the DB will grow to >24G droplet crashes no space avail.
If i upgrade the droplet to 50GB SSD the nknd starts pruning and DB will shrink but not before crashing the 25GB droplet.

I did remove the ChainDB from the ssh shell and downlloaded the bootstrap manually which works fine just a pain compared to a one click setting,

i added this to the 1 click user script, that should work

1 Like

Thanks for your feedback! We will try to find a way to make it work on $5 droplet without any manual operations

after the manual download of the db i am getting “fatal error: runtime: out of memory errors” on a few of my nodes … prunning disabled or not

This simply means your node runs out of memory. Typically you just need to restart the node (it should do it automatically if you use nkn commercial, fast deploy, one click, etc)

We have made some improvements to the block syncing and pruning part (PR 738 and 740). Now the $5 DO droplet is enough (both disk and memory) to sync from height 0 without downloading any chain snapshots. These changes will be included in the next release version (soon).