From: Pai-Hung Chen <paihungchen@hotmail.com>
To: mongrel-unicorn@rubyforge.org
Subject: Re: How to automate the restarting of Unicorn?
Date: Mon, 10 Oct 2011 22:18:00 +0000 (UTC) [thread overview]
Message-ID: <loom.20111011T001229-840@post.gmane.org> (raw)
In-Reply-To: 20111010212741.GA3828@dcvr.yhbt.net
Eric Wong wrote:
> Yes, there's no way to safely handle the pid file otherwise because of
> race conditions you mentioned. The oldbin pid file must exist because
> the new process (which calls before_exec) can clobber the regular pid
> file once fork is called.
Thanks for the confirmation :) Much appreciated!
Pai-Hung
_______________________________________________
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
prev parent reply other threads:[~2011-10-10 22:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-08 3:20 How to automate the restarting of Unicorn? Pai-Hung Chen
2011-10-09 23:31 ` Alex Sharp
2011-10-10 6:04 ` Devin Ben-Hur
2011-10-10 20:34 ` Pai-Hung Chen
2011-10-10 21:27 ` Eric Wong
2011-10-10 22:18 ` Pai-Hung Chen [this message]
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=loom.20111011T001229-840@post.gmane.org \
--to=paihungchen@hotmail.com \
--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).