unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: TAG for process list view and start-up-scripts
Date: Wed, 30 Mar 2011 10:52:39 -0700	[thread overview]
Message-ID: <20110330175239.GA9877@dcvr.yhbt.net> (raw)
In-Reply-To: <4D931885.9070605@mrtech.ru>

Troex Nevelin <list@mrtech.ru> wrote:
> 1. Thin has 'tag' option in config, it is shown process list.
> This feature was very useful for me, because on servers I
> run 2 and more unicorn instances it would be nice to identify
> them fast with one look.

I won't be supporting something like this because everybody has
a different idea of what it should be and it bloats terminals.
A similar idea that was rejected in this thread:
  http://mid.gmane.org/20100702205004.GI4248@jeremyevans.local

In a related thread, Jeremy's monkey patch (which should work for all
future/current versions):
  http://mid.gmane.org/AANLkTimQoEH7QBPn9ppMP-W_kWPi5UyhKwm4jMmSvHlu@mail.gmail.com

I only do the "master"/"worker" distinction because it's what
nginx users are used to seeing and it can usually fit in argv[0]
without needing more space (moving + clobbering environ)[1]

> 2. It would be nice to have example sh startup scripts come with
> unicorn. I know they can be very specific but anyway it will help
> people start using unicorn.

Something like examples/init.sh in our source tree?
All of the examples/ directories is uploaded to
http://unicorn.bogomips.org/examples/ too

[1] /proc/$PID/environ under Linux is a sometimes useful debugging tool
    but broken under Ruby 1.9.2, I'm working on fixing this for 1.9.3
-- 
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


      reply	other threads:[~2011-03-30 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-30 11:48 TAG for process list view and start-up-scripts Troex Nevelin
2011-03-30 17:52 ` Eric Wong [this message]

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=20110330175239.GA9877@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=mongrel-unicorn@rubyforge.org \
    /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).