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=1.3 required=5.0 tests=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 8C0A544C27E for ; Thu, 12 Dec 2013 19:15:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 466F32E1D1; Thu, 12 Dec 2013 19:15:57 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from petteriraty.eu (petteriraty.eu [188.40.80.83]) by rubyforge.org (Postfix) with ESMTP id EE9132E1C7 for ; Thu, 12 Dec 2013 19:15:53 +0000 (UTC) Received: from Betelgeuse-Retina.local (91-145-65-236.bb.dnainternet.fi [91.145.65.236]) by petteriraty.eu (Postfix) with ESMTPSA id 29ED0CA0A6 for ; Thu, 12 Dec 2013 19:15:50 +0000 (UTC) Message-ID: <52AA0B65.3050406@gentoo.org> Date: Thu, 12 Dec 2013 21:15:49 +0200 From: =?ISO-8859-1?Q?Petteri_R=E4ty?= MIME-Version: 1.0 To: mongrel-unicorn@rubyforge.org Subject: Re: Issues with PID file renaming References: <20131126012036.GA5868@dcvr.yhbt.net> <52A70D26.7020105@gentoo.org> <20131210195255.GA26226@dcvr.yhbt.net> <52A7995B.7010905@gentoo.org> In-Reply-To: X-Enigmail-Version: 1.6 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 11.12.2013 15.54, Michael Fischer wrote: > On Tue, Dec 10, 2013 at 10:44 PM, Petteri R=E4ty = wrote: > = >> At least for pid based monitoring tools it is (I do agree with others >> that you should also be monitoring http though). For example monit >> requires that you give it a pid file. Why is it wrong for them to point >> to the same pid? > = > Monit doesn't require a pid, never has: > = > http://mmonit.com/monit/documentation/monit.html#connection_testing > = If you only want to do connection testing. What if you want to monitor the memory usage of unicorn processes? > To answer your question, though, the reason the pid files must contain > different PIDs is that the two processes (previous and > current-generation masters) have different PIDs. And some of us do > care that they differ :) > = Eric's original comment and my response was about the pid files having the same content (albeit shortly). Regards, Petteri _______________________________________________ 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