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: AS14383 205.234.109.0/24 X-Spam-Status: No, score=-0.5 required=5.0 tests=AWL,MSGID_FROM_MTA_HEADER, RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.unicorn.general Subject: Re: Setting app name for process list Date: Thu, 8 Jul 2010 14:42:09 -0700 Message-ID: <20100708214209.GA7500@dcvr.yhbt.net> References: <4C36418F.4010209@whitepages.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1278625539 17503 80.91.229.12 (8 Jul 2010 21:45:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Jul 2010 21:45:39 +0000 (UTC) Cc: Paul Dlug To: unicorn list Original-X-From: mongrel-unicorn-bounces@rubyforge.org Thu Jul 08 23:45:38 2010 Return-path: Envelope-to: gclrug-mongrel-unicorn@m.gmane.org X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Content-Disposition: inline In-Reply-To: <4C36418F.4010209@whitepages.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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: , Original-Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Xref: news.gmane.org gmane.comp.lang.ruby.unicorn.general:626 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OWyuT-00026D-Vd for gclrug-mongrel-unicorn@m.gmane.org; Thu, 08 Jul 2010 23:45:34 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 203131858368; Thu, 8 Jul 2010 17:45:33 -0400 (EDT) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 0E5FF185835E for ; Thu, 8 Jul 2010 17:42:09 -0400 (EDT) Received: from localhost (unknown [127.0.2.5]) by dcvr.yhbt.net (Postfix) with ESMTP id 7B6D81F488; Thu, 8 Jul 2010 21:42:09 +0000 (UTC) Devin Ben-Hur wrote: > On 7/8/10 1:55 PM, Paul Dlug wrote: >> Is there a way to set an application name for unicorn processes? >> Basically an arbitrary name which would then show up in the process >> list to identify unicorn processes, like what thin does with --tag. > > A patch to do something like that was recently rejected. Instead the > documentation was updated with Eric's recommendated solution to instance > identification: > http://rubyforge.org/pipermail/mongrel-unicorn/2010-July/000620.html > > + Using an absolute path for for CONFIG_FILE is recommended as it > + makes multiple instances of Unicorn easily distinguishable when > + viewing ps(1) output. Lawrence Pit also recommends running each app as a separate user, which is also a great idea (IMHO, though some ops people I know dislike this): http://mid.gmane.org/4C32926D.5080400@gmail.com -- Eric Wong _______________________________________________ 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