Sean Grove <[email protected]> wrote:
> Whenever I send a USR2 signal to unicorn, it correctly renames the pid
> file from unicorn.pid to unicorn.pid.oldbin, and a new instance starts
> launching. However, almost immediately (~2 seconds), it renames it
> back to unicorn.pid. The new instance of unicorn finished launching to
> find that unicorn.pid is already running, and refuses to start up.
> 
> I'm not sure if I've misconfigured something, but I'd love to get to
> the bottom of this!

Are you somehow clearing the UNICORN_FD environment variable in your
master process (perhaps when you load your app).  Which version of Ruby
are you using?  What does your stderr log say?

-- 
Eric Wong
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to