Get Better Perfomance with Ghost Blog over ubuntu

Hi, Im running a 10 dolars droplet with 5 ghost blogs over a nginx.

They are running ok BUT i see i got just 69mb left of RAM.

I created a swap file but those process (nodejs and ghost) doesnt seem to use it.

Do you guys have any tips on how to improve things so i could not run out of memory :)

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


Please run the following command from the CLI:

free -m

… and post the output in full (it’s not long).

The swap file is not used by an application, so to speak, rather, the OS itself. In the event you’ve run out of RAM, the OS will then attempt to use swap. You can’t (and wouldn’t want to) assign an app to use swap over RAM.

That said, keep in mind that NodeJS requires RAM to run and each of the instances of Ghost require RAM to run (and function). While 1GB is effective for a few smaller websites, anything that requires a process to be long-running (such as a server instance powered by NodeJS), is going to consume more and more RAM over time. Very rarely will a single instance of anything only use a set amount of RAM indefinitely.