Ich betreibe Puma 2.8.2 Server zum Stubbing einige meiner Back-End-Dienste. Gelegentlich stirbt Puma Server ohne Grund.Puma-Server stirbt ohne Grund
Es gibt keine Fehler in error.log Und hier ist Auszug aus 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
Irgendwelche Gedanken, was könnte die Ursache sein?
Vielleicht hat man diese Frage schon beantwortet: http://stackoverflow.com/questions/23867784/puma-rails-on-linux- Neustart-wenn-Prozess-stirbt – SlySherZ
Danke @SlySherZ. Ich habe diesen Post gesehen, leider nicht, wie man verhindern kann, dass Puma stirbt. Wie man es startet/stoppt/neu startet. – LukasMac
Sie könnten versuchen, Puma zu patchen, um nützlichere Protokolle auszugeben: https://github.com/puma/puma/issues/1273 – brainbag