ruby-on-railsunicorn

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


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?


Solution

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