unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Worker SIGABRT takes down all workers?
@ 2014-08-21 12:05 Jonathan del Strother
  2014-08-21 20:32 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan del Strother @ 2014-08-21 12:05 UTC (permalink / raw)
  To: unicorn-public

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-22 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-21 12:05 Worker SIGABRT takes down all workers? Jonathan del Strother
2014-08-21 20:32 ` Eric Wong
2014-08-22 15:50   ` Jonathan del Strother

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