From: Eric Wong <normalperson@yhbt.net>
To: mongrel-unicorn@rubyforge.org
Subject: Re: listen loop error in 4.8.0
Date: Mon, 27 Jan 2014 17:02:23 +0000 [thread overview]
Message-ID: <20140127170223.GB7074@dcvr.yhbt.net> (raw)
In-Reply-To: <20140127165640.GA7074@dcvr.yhbt.net>
Eric Wong <normalperson@yhbt.net> wrote:
> It seems io.close in the trap(:QUIT) handler of the worker process is
> causing an IOError, which means an IO in the readers array already got
> closed somehow. This shouldn't happen, and CRuby 2.x doesn't seem
> to interrupt itself inside signal handlers[1].
Of course, the fake-signal mechanism of 4.8.0 could also cause this:
* the master triggers a fake-signal (where the invoked trap handler
is interruptible)
* a real signal also triggered from an outside user
I forget to mention this happened with unicorn-worker-killer 0.4.2 for
that user, and that seems to just use normal Process.kill
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying
prev parent reply other threads:[~2014-01-27 17:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-27 16:56 listen loop error in 4.8.0 Eric Wong
2014-01-27 17:02 ` Eric Wong [this message]
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=20140127170223.GB7074@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=mongrel-unicorn@rubyforge.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).