6
我正在運行Puma 2.8.2服務器來存儲一些後端服務。有時Puma服務器無故死亡。Puma服務器無故死亡
有一個在error.log中沒有錯誤這裏是從摘錄的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
任何想法什麼可能導致此?
也許你的問題已經回答了:http://stackoverflow.com/questions/23867784/puma-rails-on-linux-重新啓動時處理模 – SlySherZ 2014-10-27 16:50:31
謝謝@SlySherZ。我看到這篇文章,不幸的是它沒有說明如何防止美洲獅死亡。只是如何啓動/停止/重新啓動它。 – LukasMac 2014-10-27 17:04:32
您可以嘗試修補Puma以輸出更多有用的日誌:https://github.com/puma/puma/issues/1273 – brainbag 2017-11-17 13:24:28