unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: "Petteri Räty" <betelgeuse@gentoo.org>
To: mongrel-unicorn@rubyforge.org
Subject: pid file deleted briefly when doing hot restart
Date: Mon, 26 Nov 2012 01:27:22 +0200	[thread overview]
Message-ID: <50B2A95A.40809@gentoo.org> (raw)

What follows are all the write actions related to unicorn pid file when
doing a hot restart. Seems like a bug to me that unicorn is deleting the
pid file before writing the new file. Is there a reason for it? It seems
to go against that rename that aims for an atomic replace that would
always ensure the pid file is there.

Regards,
Petteri

2012-11-26 00:54:12 +0200
[:delete]
"unicorn_blue1.pid"
2012-11-26 00:54:12 +0200
[:create]
"0.18100578716567672.15108"
2012-11-26 00:54:12 +0200
[:open]
"0.18100578716567672.15108"
2012-11-26 00:54:12 +0200
[:modify]
"0.18100578716567672.15108"
2012-11-26 00:54:12 +0200
[:moved_from, :move]
"0.18100578716567672.15108"
2012-11-26 00:54:12 +0200
[:moved_to, :move]
"unicorn_blue1.pid.oldbin"
2012-11-26 00:54:12 +0200
[:close_write, :close]
"unicorn_blue1.pid.oldbin"
2012-11-26 00:54:14 +0200
[:create]
"0.9762316483892712.16822"
2012-11-26 00:54:14 +0200
[:open]
"0.9762316483892712.16822"
2012-11-26 00:54:14 +0200
[:modify]
"0.9762316483892712.16822"
2012-11-26 00:54:14 +0200
[:moved_from, :move]
"0.9762316483892712.16822"
2012-11-26 00:54:14 +0200
[:moved_to, :move]
"unicorn_blue1.pid"
2012-11-26 00:54:14 +0200
[:close_write, :close]
"unicorn_blue1.pid"
2012-11-26 00:54:14 +0200
_______________________________________________
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:[~2012-11-25 23:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-25 23:27 Petteri Räty [this message]
2012-11-26  0:43 ` pid file deleted briefly when doing hot restart Eric Wong
2012-11-26 10:39   ` Petteri Räty
2012-11-26 18:24     ` Eric Wong
2012-11-26 23:56       ` Petteri Räty
2012-11-27  0:35         ` Eric Wong
2012-11-27  1:49           ` Petteri Räty
2012-11-27  2:02             ` Eric Wong
2012-11-27 16:11               ` Petteri Räty
2012-11-27 21:51                 ` Eric Wong
2012-11-27  1:50           ` Petteri Räty

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=50B2A95A.40809@gentoo.org \
    --to=betelgeuse@gentoo.org \
    --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).