From: Jamie Wilkinson <email@example.com>
To: unicorn list <firstname.lastname@example.org>
Subject: Re: Multiple master processes
Date: Mon, 31 Jan 2011 11:24:43 -0800 [thread overview]
Message-ID: <16D30BB4-B596-4653-B213-329D527BA7AB@jamiedubs.com> (raw)
On Jan 31, 2011, at 1:47 AM, Tilmann Singer 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?
> # config/unicorn.rb
> worker_processes 3
> pid "tmp/pids/unicorn.pid"
> stderr_path "log/unicorn.stderr.log"
> stdout_path "log/unicorn.stdout.log"
Unicorn doesn't kill the old master on it's own, you need an after_fork() like so (from the default/suggested unicorn conf)
Unicorn mailing list - email@example.com
Do not quote signatures (like this one) or top post when replying
prev parent reply other threads:[~2011-01-31 20:33 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
2011-02-01 21:22 ` Eric Wong
2011-01-31 19:24 ` Jamie Wilkinson [this message]
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:
List information: https://yhbt.net/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).