unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Jonathan del Strother <jon.delStrother@audioboo.fm>
To: unicorn-public@bogomips.org
Subject: Worker SIGABRT takes down all workers?
Date: Thu, 21 Aug 2014 13:05:16 +0100	[thread overview]
Message-ID: <CAF5DW8J6Dnws_S2yvJ4wZVPvPncQEtn08+n8YXvthLwSOtUdgQ@mail.gmail.com> (raw)

Hi there,
We're trying to figure out a problem we're having where Ruby 2.1.2 /
ImageMagick is causing a SIGABRT in a unicorn worker process.  When it
does so, I see this in unicorn.log :

I, [2014-08-21T11:40:44.282905 #65706]  INFO -- : reaped
#<Process::Status: pid 66787 exit 0> worker=0
I, [2014-08-21T11:40:44.283289 #65706]  INFO -- : reaped
#<Process::Status: pid 66801 exit 0> worker=7
I, [2014-08-21T11:40:44.283583 #65706]  INFO -- : reaped
#<Process::Status: pid 66790 exit 0> worker=3
I, [2014-08-21T11:40:44.283871 #65706]  INFO -- : reaped
#<Process::Status: pid 66793 exit 0> worker=4
I, [2014-08-21T11:40:44.284198 #65706]  INFO -- : reaped
#<Process::Status: pid 66794 exit 0> worker=5
I, [2014-08-21T11:40:44.284538 #65706]  INFO -- : reaped
#<Process::Status: pid 66798 exit 0> worker=6
I, [2014-08-21T11:40:44.284832 #65706]  INFO -- : reaped
#<Process::Status: pid 66788 exit 0> worker=1
E, [2014-08-21T11:40:44.385491 #65706] ERROR -- : reaped
#<Process::Status: pid 66789 SIGABRT (signal 6) (core dumped)>
worker=2
I, [2014-08-21T11:40:44.385951 #65706]  INFO -- : master complete
I, [2014-08-21T11:40:48.073191 #72528]  INFO -- : Refreshing Gem list
I, [2014-08-21T11:41:06.841582 #72528]  INFO -- : listening on
addr=0.0.0.0:8090 fd=17

So, as far as I can tell, the SIGABRT in a worker causes all siblings
workers to be reaped and restarted.   Is that intended/expected?
Shouldn't it just kill the single worker & restart that?

-Jonathan

             reply	other threads:[~2014-08-21 12:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21 12:05 Jonathan del Strother [this message]
2014-08-21 20:32 ` Worker SIGABRT takes down all workers? Eric Wong
2014-08-22 15:50   ` Jonathan del Strother

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF5DW8J6Dnws_S2yvJ4wZVPvPncQEtn08+n8YXvthLwSOtUdgQ@mail.gmail.com \
    --to=jon.delstrother@audioboo.fm \
    --cc=unicorn-public@bogomips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).