unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* TAG for process list view and start-up-scripts
@ 2011-03-30 11:48 Troex Nevelin
  2011-03-30 17:52 ` Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Troex Nevelin @ 2011-03-30 11:48 UTC (permalink / raw)
  To: mongrel-unicorn

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.


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.
_______________________________________________
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TAG for process list view and start-up-scripts
  2011-03-30 11:48 TAG for process list view and start-up-scripts Troex Nevelin
@ 2011-03-30 17:52 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2011-03-30 17:52 UTC (permalink / raw)
  To: unicorn list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-30 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-30 11:48 TAG for process list view and start-up-scripts Troex Nevelin
2011-03-30 17:52 ` Eric Wong

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).