I’ve a 2GB 25GB $10 Digital Ocean droplet. My forum is fairly new so all the figures are tiny, except:
Memory (between 75-80%, and inexplicably jumped to 85% yesterday and remains there). When I installed Discourse I went for the 2GB option rather than setting up swap memory.
Disk usage (78-80%). Once when rebuilding Discourse it ran out of disk space and had to clear some space before I tried again. Is there any way to clear more space (e.g. permanently deleting “deleted” topics)?
At what sort of percentage levels should I look at upgrading the droplet?
Ok, you need to understand a couple of things on how Discourse works:
Discourse keeps as much memory used as it can to improve the response speeds. So, using 80% of the memory will happen in a 2GB droplet and in a well configured 16GB droplet.
Disk usage shouldn’t be that high unless you have a lot of attachment. You can try ./launcher cleanup to remove old images, it usually helps a lot if the server has a lot of rebuilds.
The 2GB option should have SWAP, you can start moving out of SWAP at around 4GB of memory.
Memory stays at 70 percent because it’s supposed to. It’s speeding up disk access. Don’t worry. You can Google “why is Linux using so much memory” if your care why.
Did you resize your droplet? I thought that the $10/month one had 50gb of storage. You can get by with 25,though, but you’ll need to do
According to their website tonight, the 25 GB basic droplet is $5/mo with 1 GB CPU, 1 TB Xfer with a rate of $0.00744/hr.
The 50 GB droplet is $10/mo with 2 GB CPU and 2 TB Xfer with a rate of $0.01488/hr.
It’s funny to think of a faceless global corporation as being nice. But, yes, I suppose it is an honourable approach! Maybe they didn’t automatically upgrade the account because it would involve disruption – or be too much work to do it for many thousands of customers.
Edit: I think I remember now… you can upgrade CPU/RAM then downgrade again, but with disk space is a one-way street, so I probably went from 1GB to 2GB RAM but didn’t change the disk space so as to be able to downgrade again if necessary.