Run two ghost blogs on one 512 MB droplet

Posted June 27, 2015 3.6k views
UbuntuGhostDigitalOcean 1-Click Apps Marketplace

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.

  • does the Ghost droplet use apache or nginx?

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

    location / {
    proxypass http://localhost:2378;
    setheader X-Forwarded-For $proxyaddxforwardedfor;
    setheader Host $httphost;
    proxysetheader 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.

  • 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.

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.

Submit an Answer
1 answer

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?