Run two ghost blogs on one 512 MB droplet

Here’s my question: I’ve created a stock Ghost droplet, and then followed the guid to install 2 ghost blogs on the same 512 MB droplet. The blogs are on port 2378 and 2388. They run fine for a couple of hours, and then one of the two always crashes with an error code 137.

I have configured both blogs on IP address I also tried and the public IP, but they keep crashing.

I suspect it’s a memory issue - ghost runs out of memory and crashes. Is this true, or am I overlooking something else?

I’d appreciate some help. I migrated from Azure to DigitalOcean, and everything worked fine before on Azure.


I am not up enough on Nginx to help here.

I have had lots of luck running several websites with apache on a single 512 droplet, with no problems.

It might be an interesting experiment to create another droplet with just apache and see if you have different results.

It uses nginx. Here’s a fragment of the configuration file:

location / { proxy_pass http://localhost:2378; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; proxy_buffering off; }

And everything works fine for about an hour or so, and then the ghost instance on port 2378 always fails. Really weird.

does the Ghost droplet use apache or nginx?

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

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.

I have the same problem, I don’t know if it’s because of Nginx or Ghost itself crashing. Did you get any further with this issue?