unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: "pudiva chip líquida" <pudiva@skylittlesystem.org>
To: Eric Wong <bofh@yhbt.net>
Cc: unicorn-public@yhbt.net
Subject: Re: at_exit ignored on worker processes
Date: Tue, 12 Apr 2022 01:27:42 +0100	[thread overview]
Message-ID: <CAHpAuDG7OJbdFMkJuhWweo8CszqYk-QSaNR_=AMsCssn-j7Qjw@mail.gmail.com> (raw)
In-Reply-To: <20220411204236.GA4777@dcvr>

> That `exit!' is only temporary during worker init on SIGQUIT.
>
> :QUIT is retrapped and made graceful at the end of init_worker_process:
>
>   https://yhbt.net/unicorn.git/tree/lib/unicorn/http_server.rb?h=v6.0.0#n694
>
> t/t0020-at_exit-handler.sh should be testing SIGQUIT behavior
>
> SIGTERM/SIGINT remain `exit!' since they're specified as immediate
> (well, as soon as Ruby sig handlers fire)

Ahhhh I see! Thank you!

-- 
pudia chip líquida

      reply	other threads:[~2022-04-12  0:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 19:02 at_exit ignored on worker processes pudiva chip líquida
2022-04-11 20:42 ` Eric Wong
2022-04-12  0:27   ` pudiva chip líquida [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='CAHpAuDG7OJbdFMkJuhWweo8CszqYk-QSaNR_=AMsCssn-j7Qjw@mail.gmail.com' \
    --to=pudiva@skylittlesystem.org \
    --cc=bofh@yhbt.net \
    --cc=unicorn-public@yhbt.net \
    /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).