Hi,
I am running a Status node since mid-December and its storage size is growing constantly, currently at 33 GB.
I thought it purges old data automatically. Should I increase the SSD size, or there is another way to cap its storage use?
And by the way, how should I update the node without interrupting it?
The status-go node does not by default cap the size of the database. There is a setting called MailServerDataRetention which defines the number of days you want to keep, but that is not set by default.
On our servers we set WakuConfig.MailServerDataRetention to 30 days, but neither the code, nor the standard node setups we recommend include a default setting for WakuConfig.MailServerDataRetention. I guess we should, so I’ve created two PRs to include that in generated configs and the website:
In case of using an SQLite database you might have to run VACUUM command to get it to release the disk space. Unless you’re running it in auto_vacuum=FULL mode, which we don’t by default.
Warning for those using PostgreSQL, the is a pruning process that removes old envelops, but it does not mean your database will release that disk space it already acquired.