Unicorn error: “ERROR — : reaped #<Process::Status: pid 12345 SIGABRT (signal 6)> worker=2”

我是研究僧i 提交于 2019-12-24 10:51:34

问题


We get errors like this one daily (sometimes more than once):

Apr 13 12:16:31 app1 unicorn.log:  E, [2014-04-13T12:16:31.302011 #17269] ERROR -- : reaped #<Process::Status: pid 17300 SIGABRT (signal 6)> worker=2

We use Unicorn 4.8.2 with a Ruby on Rails app.

It doesn't seem to happen at any obvious time, like during or just after deploys.

We're not sure how to debug this – any suggestions on either what the problem could be, or how to debug it?


回答1:


Turns out it was simply that our monit did a "kill -6" (SIBABRT) when the process used too much memory, so we bumped that limit for now.

We've yet to research why it used that much memory.



来源:https://stackoverflow.com/questions/23063997/unicorn-error-error-reaped-processstatus-pid-12345-sigabrt-signal-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!