* Suggestion for Named Process @ 2014-01-15 11:37 Bob McKinven 2014-01-15 18:19 ` Eric Wong 0 siblings, 1 reply; 3+ messages in thread From: Bob McKinven @ 2014-01-15 11:37 UTC (permalink / raw) To: mongrel-unicorn Hi, When running multiple rails apps on the same server it can become a pain identifying which 'unicorn_rails master’ process is running which app (can’t always tell from the user). My suggestion is for a --name option to allow each process to be named individually. E.g. "unicorn_rails —name tiddles_unicorn -D” would show “tiddles_unicorn master” & “tiddles_unicorn worker[1]” when using PS I can be cc’d at bob@gigglemania.co.uk. Cheers. Bob _______________________________________________ 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] 3+ messages in thread
* Re: Suggestion for Named Process 2014-01-15 11:37 Suggestion for Named Process Bob McKinven @ 2014-01-15 18:19 ` Eric Wong [not found] ` <564F4584-C5A2-47DB-A501-022C76FE1788@gigglemania.co.uk> 0 siblings, 1 reply; 3+ messages in thread From: Eric Wong @ 2014-01-15 18:19 UTC (permalink / raw) To: unicorn list; +Cc: Bob McKinven Bob McKinven <bob@gigglemania.co.uk> wrote: > When running multiple rails apps on the same server it can become a > pain identifying which 'unicorn_rails master’ process is running which > app (can’t always tell from the user). > > My suggestion is for a --name option to allow each process to be named > individually. > > E.g. "unicorn_rails —name tiddles_unicorn -D” would show > “tiddles_unicorn master” & “tiddles_unicorn worker[1]” when using PS I suggest using -c to point to a location specific to the app: unicorn -c /path/to/tiddles/unicorn.conf.rb Having too many options adds to confusion, and changing the executable name part of the process title can also break tools like killall. I also end up using something like this quite often (and even without bundler, just using RubyGems only): http://mid.gmane.org/20110819022316.GA2951@dcvr.yhbt.net > I can be cc’d at bob@gigglemania.co.uk. Done :> _______________________________________________ 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] 3+ messages in thread
[parent not found: <564F4584-C5A2-47DB-A501-022C76FE1788@gigglemania.co.uk>]
* Re: Suggestion for Named Process [not found] ` <564F4584-C5A2-47DB-A501-022C76FE1788@gigglemania.co.uk> @ 2014-01-15 19:42 ` Eric Wong 0 siblings, 0 replies; 3+ messages in thread From: Eric Wong @ 2014-01-15 19:42 UTC (permalink / raw) To: Bob McKinven; +Cc: mongrel-unicorn Bob McKinven <bob@gigglemania.co.uk> wrote: > Thanks Eric, > > I do use the -c option .. but end up with several services all showing > “-C config/unicorn.rb” .. the initial path that would clearly identify > the location is cut off :( I always recommend using the absolute path for -c, it's less confusing, especially with options like working_directory and SIGUSR2 upgrades (Also, be sure to keep the mailing list Cc:-ed so others can follow). _______________________________________________ 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] 3+ messages in thread
end of thread, other threads:[~2014-01-15 19:42 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-01-15 11:37 Suggestion for Named Process Bob McKinven 2014-01-15 18:19 ` Eric Wong [not found] ` <564F4584-C5A2-47DB-A501-022C76FE1788@gigglemania.co.uk> 2014-01-15 19:42 ` 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).