Multiple master processes

Jamie Wilkinson jamie at
Mon Jan 31 14:24:43 EST 2011

On Jan 31, 2011, at 1:47 AM, Tilmann Singer wrote:

> Hi,
> 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/"
> 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) 

More information about the mongrel-unicorn mailing list