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


In this case I recommend opening up our web based console for the droplet at 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.