问题
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