From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Cc: Paul Dlug <paul.dlug@gmail.com>
Subject: Re: Setting app name for process list
Date: Thu, 8 Jul 2010 14:42:09 -0700 [thread overview]
Message-ID: <20100708214209.GA7500@dcvr.yhbt.net> (raw)
In-Reply-To: <4C36418F.4010209@whitepages.com>
Devin Ben-Hur <dbenhur@whitepages.com> 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
next prev parent reply other threads:[~2010-07-08 21:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-08 20:55 Setting app name for process list Paul Dlug
2010-07-08 21:22 ` Devin Ben-Hur
2010-07-08 21:42 ` Eric Wong [this message]
2010-07-09 5:09 ` Paul Dlug
2010-07-09 5:44 ` Jeremy Evans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100708214209.GA7500@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=mongrel-unicorn@rubyforge.org \
--cc=paul.dlug@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).