How can I surely check if my VPS running Discourse is overloaded most of time and needs upgrade?

(Anton) #1

Still running 10$ VPS at DigitalOcean, I started to experience slow loading a few days ago. Not only do I understand that the VPS is the minimal recommended one, but I can also see there is lack of space. Running just around 400 users and just 50 of them being active, I’m confused whether it is disk space and/or VPS processing power that is a bottleneck.

What is the best way to check and know for sure?

(Sam Saffron) #2

Try running:

./launcher cleanup

(Anton) #3


Starting Cleanup (bytes free 1030328)
Unable to find image ‘samsaffron/docker-gc’ locally
Pulling repository samsaffron/docker-gc
2015/12/29 05:31:52 Could not reach any registry endpoint
Finished Cleanup (bytes free 1030328)

Not sure if “could not reach…” requires my attention?

(@SenpaiMass) #4

This should work.

Then a reboot via ssh

(Sam Saffron) #5

update docker to latest, ensure docker is running correctly.

(Geek Pete) #6

(Jeff Atwood) #7

The general answer to this question is to look at your Digital Ocean droplet graphs:

(above is the last year of

Anything weird with Disk or CPU, super high peaks, you need to upsize your droplet.

Remember when you upsize the droplet to increase the number of unicorn workers, and the amount of memory allocated to Postgres.

(ljpp) #8

@meglio connect to your VPS via SSH, run top and see whats happening. Maybe even report here.