From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=0.5 required=5.0 tests=AWL,RDNS_NONE shortcircuit=no autolearn=no version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (unknown [50.56.192.79]) by dcvr.yhbt.net (Postfix) with ESMTP id 3BFB51F5B8 for ; Thu, 25 Apr 2013 08:51:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 5AFF42E11B; Thu, 25 Apr 2013 08:51:20 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id F35892E0FC for ; Thu, 25 Apr 2013 08:51:13 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7A3031F487; Thu, 25 Apr 2013 08:51:12 +0000 (UTC) Date: Thu, 25 Apr 2013 08:51:12 +0000 From: Eric Wong To: unicorn list Subject: Re: Why doesn't SIGTERM quit gracefully? Message-ID: <20130425085112.GA18419@dcvr.yhbt.net> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: mail@andreasfalk.se X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Andreas Falk wrote: > I'm wondering why SIGINT and SIGTERM both were chosen for the quick > shutdown? I agree with SIGINT but not with SIGTERM. A lot of unix > tools send SIGTERM as default (kill, runit among some) and it seems to > be the standard way of telling a process to quit gracefully but not > among Ruby people (there are a few other ruby processes behaving the > same way). I just think it's weird that the default command will exit > without taking care of their current request. > > Also i'm not on the mailinglist so it would be great if you could cc > mail@andreasfalk.se I think it's weird, too. But that's what nginx does, and I based most of the UI decisions on nginx (so it's easy to reuse nginx scripts with unicorn). _______________________________________________ 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