Question

My rails app launched with dokku fails at all times

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.


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.

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