Report this

What is the reason for this report?

My rails app launched with dokku fails at all times

Posted on March 16, 2019

I have a rail application deployed with dokku and every day I have this error, “We’re sorry, but something went wrong”. Restart dekku with “dokku ps:restart app” and return to normal but after a while the same error comes back, thanks for your help.



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!

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.

Greetings!

In this case I recommend opening up our web based console for the droplet at cloud.digitalocean.com. I would wager that you’re running out of memory, and the kernel is killing the application. If you see these out of memory errors on the console, this confirms my theory. In such an event, you will find yourself with at least three options:

  1. Optimize the application to use less memory.
  2. Upgrade to a larger droplet.
  3. Balance the load of your application across 2 or more droplets, reducing the memory usage by any single server.

Jarland

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.