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: AS14383 205.234.109.0/24 X-Spam-Status: No, score=-0.7 required=5.0 tests=RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by dcvr.yhbt.net (Postfix) with ESMTP id 72FB51F451 for ; Thu, 15 Sep 2011 01:34:09 +0000 (UTC) Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id A70931218276; Wed, 14 Sep 2011 21:34:08 -0400 (EDT) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from mail-ey0-f178.google.com (mail-ey0-f178.google.com [209.85.215.178]) by rubyforge.org (Postfix) with ESMTP id 7EA6E185837A for ; Wed, 14 Sep 2011 20:44:39 -0400 (EDT) Received: by eye27 with SMTP id 27so1159653eye.23 for ; Wed, 14 Sep 2011 17:44:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.25.147 with SMTP id z19mr900796ebb.134.1316047448722; Wed, 14 Sep 2011 17:44:08 -0700 (PDT) Received: by 10.213.15.14 with HTTP; Wed, 14 Sep 2011 17:44:08 -0700 (PDT) In-Reply-To: <20110914173213.GA31955@dcvr.yhbt.net> References: <20110914173213.GA31955@dcvr.yhbt.net> Date: Thu, 15 Sep 2011 08:44:08 +0800 Message-ID: Subject: Re: sigwinch and screen From: "Brian P O'Rourke" To: unicorn list 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org On Thu, Sep 15, 2011 at 1:32 AM, Eric Wong wrote: > Brian P O'Rourke wrote: >> You can simulate this problem from *within* a screen session with >> something like this: >> >> =A0 =A0 screen sleep 5 && screen bundle exec unicorn -c unicorn.conf con= fig.ru > > So, start "screen", get a terminal + shell, /then/ type the above? > Correct. When running screen within screen like this, you just get a new screen that executes the command. It happens consistently for me on OSX when I launch several screens at once and the last active screen is *not* unicorn - could certainly be system-dependent. >> Here is the patch I would like to see applied: > > I'll apply it. =A0 Is there a commit message you'd like to use? > (Otherwise I'll just edit something based on your email) You can just pull from my public fork here: git://github.com/bpo/unicorn.git - branch name is 'daemonization_detection' Cheers, Brian P O'Rourke _______________________________________________ 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