From mboxrd@z Thu Jan 1 00:00:00 1970 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=1.7 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER,RDNS_NONE shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: HUP restart is delayed by 2 minutes Date: Wed, 29 Jan 2014 07:02:59 +0000 Message-ID: <20140129070259.GA5938@dcvr.yhbt.net> References: <52E89997.6020504@rightscale.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1390978983 13172 80.91.229.3 (29 Jan 2014 07:03:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jan 2014 07:03:03 +0000 (UTC) Cc: Thorsten von Eicken To: Rainbows! list Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Wed Jan 29 08:03:11 2014 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Content-Disposition: inline In-Reply-To: <52E89997.6020504-nkzjiHSqi6rZJqsBc5GL+g@public.gmane.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Broken-Reverse-DNS: no host name found for IP address 50.56.192.79 Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:580 Archived-At: Received: from [50.56.192.79] (helo=rubyforge.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W8PB0-00047d-Ht for gclrrg-rainbows-talk@m.gmane.org; Wed, 29 Jan 2014 08:03:10 +0100 Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id AEAFF26307F; Wed, 29 Jan 2014 07:03:08 +0000 (UTC) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 8412226307D for ; Wed, 29 Jan 2014 07:03:01 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 05C90216EC; Wed, 29 Jan 2014 07:03:00 +0000 (UTC) Thorsten von Eicken wrote: > I'm having trouble getting the HUP restart to work properly (I do have > preload_app=false). What happens is that on HUP the master reloads the > config file, but it then always takes 2 minutes plus 1-2 seconds for the > workers to be reaped. The servers is totally idle, so this is not due to > some open connections. Here's how it looks in the log file with 2 worker > processes: Which concurrency option are you using and which version of Rainbows!, unicorn and Ruby is this? > I, [2014-01-28T21:39:11.106135 #7936] INFO -- : reloading > config_file=./config/rainbows.rb > I, [2014-01-28T21:39:11.111348 #7936] INFO -- : done reloading > config_file=./config/rainbows.rb > D, [2014-01-28T21:39:11.112222 #7936] DEBUG -- : waiting 36.5s after > suspend/hibernation > E, [2014-01-28T21:41:14.786059 #7936] ERROR -- : reaped > # worker=0 That definitely doesn't look right. We need to know as much about your configuration and versions as possible. _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying