unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Tilmann Singer <tils@tils.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: Multiple master processes
Date: Tue, 01 Feb 2011 21:48:38 +0100	[thread overview]
Message-ID: <87aaiftra1.wl%tils@tils.net> (raw)
In-Reply-To: <20110131180815.GA17643@dcvr.yhbt.net>

At Mon, 31 Jan 2011 18:08:15 +0000,
Eric Wong <normalperson@yhbt.net> wrote:
> 
> Tilmann Singer <tils@tils.net> wrote:
> > I'm seeing the following output of ps after starting unicorn, which as
> > I understand it means that there are multiple master processes
> > running, each with its own pid. Is that normal behaviour or is there
> > something wrong with my setup?
> 
> It's normal behavior for Linux 2.4.x + Ruby 1.9, don't worry about it.

OK thanks, good to know.


> > $ ps xf|grep 4002
> >  8022 ?        S      0:00 unicorn master -c config/unicorn.rb -E production -p 4002 -D                                         
> >  8024 ?        S      0:00  \_ unicorn master -c config/unicorn.rb -E production -p 4002 -D                                         
> > 26743 ?        S      0:00  |   \_ unicorn master -c config/unicorn.rb -E production -p 4002 -D                                         
[...]
> > $ cat tmp/pids/unicorn.pid
> > 8022

Could it be that the content of the pidfile is wrong in this case? I
found that I always have to signal the pid of the last of the master
process list entries (26743 in this example) to see them have an
effect. Not a big deal, just wondering.


> Wow, I didn't realize people ran the latest Rubies on 2.4.x!

Time to upgrade for me I assume ...


greetings, Til
_______________________________________________
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-02-01 21:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31  9:47 Multiple master processes Tilmann Singer
2011-01-31 18:08 ` Eric Wong
2011-02-01 20:48   ` Tilmann Singer [this message]
2011-02-01 21:22     ` Eric Wong
2011-01-31 19:24 ` Jamie Wilkinson

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=87aaiftra1.wl%tils@tils.net \
    --to=tils@tils.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).