Puma server dies for no reason

I am running the Puma 2.8.2 server to work with some of my back services. Sometimes the Puma server simply dies for no reason.

There are no errors in error.log. And here is an excerpt from access.log:

10.210.140.21 - - [15/Oct/2014 09:28:22] "GET /status HTTP/1.1" 200 - 0.0030 - Gracefully stopping, waiting for requests to finish - Goodbye! === puma startup: 2014-10-15 09:28:24 +0100 === 10.210.140.21 - - [15/Oct/2014 09:28:24] "GET /status HTTP/1.1" 200 - 0.0254 

Any thoughts what might cause this?

+6
source share
1 answer

If this problem becomes in Heroku and you use a free Heroku dealer, the problem is that you are using a free dino. Because your application goes to sleep after 30 minutes of inactivity.

Further information can be found at the following link:

https://devcenter.heroku.com/articles/free-dyno-hours

0
source

Source: https://habr.com/ru/post/977286/


All Articles