unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* unicorn 4.2.1 release soon?
@ 2012-03-22  6:30  6% Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2012-03-22  6:30 UTC (permalink / raw)
  To: mongrel-unicorn

There's not much going on in unicorn.git nowadays, everything's
stabilized nicely over the past few years.

This release would mainly be for for Graham's EPERM fix/workaround for
stale pid files and some documentation fixes improvements.

Shortlog below:

  Eric Wong (4):
        examples/nginx.conf: remove redundant word
        examples/nginx.conf: use $scheme instead of hard-coded "https"
        KNOWN_ISSUES: document signal conflicts in libs/apps
        log EPERM errors from invalid pid files

  Graham Bleach (1):
        Start the server if another user has a PID matching our stale pidfile.

$ git clone git://bogomips.org/unicorn.git


I'm also going on vacation soon, so I'll have almost no Internet access
for a few weeks.  Help each other out when I'm away, thanks :)
_______________________________________________
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

^ permalink raw reply	[relevance 6%]

* RE: Unicorn_rails ignores USR2 signal
  2012-03-20 19:57  7%                 ` Eric Wong
@ 2012-03-20 23:09  6%                   ` Yeung, Jeffrey
  0 siblings, 0 replies; 3+ results
From: Yeung, Jeffrey @ 2012-03-20 23:09 UTC (permalink / raw)
  To: Eric Wong, unicorn list

Eric,

I have been unable to narrow down the cause of the conflict so far.  The list of Ruby gems (and gem versions) on the affected deployment are identical to the ones on another deployment where Unicorn is upgrading just fine (with preloaded app).  Grep'ing for USR2 in the gem installations did not reveal anything,  unfortunately.  Since then, I haven't been able to spend further time investigating.  Not sure where else to look, really, but I'm open to further suggestions.

-Jeff

-----Original Message-----
From: Eric Wong [mailto:normalperson@yhbt.net] 
Sent: Tuesday, March 20, 2012 12:58 PM
To: unicorn list
Cc: Yeung, Jeffrey
Subject: Re: Unicorn_rails ignores USR2 signal

Eric Wong <normalperson@yhbt.net> wrote:
> "Yeung, Jeffrey" <Jeffrey.Yeung@polycom.com> wrote:
> > Sorry for the delay.  It looks like disabling preload_app did the 
> > trick.  A new master was created after sending the USR2.  Now the 
> > $$$ question is, what in the world is intercepting the signal?  :S
> 
> Good to know, I'd just grep the installation directories for all your 
> Ruby libs + gems for USR2.  I haven't seen this problem before, but 
> it'd be good to document the conflict, at least.

Btw, did you ever figure out what was causing the conflict?

Pushing this out to git://bogomips.org/unicorn.git

>From 1e13ffee3469997286e65e0563b6433e7744388a Mon Sep 17 00:00:00 2001
From: Eric Wong <normalperson@yhbt.net>
Date: Tue, 20 Mar 2012 19:51:35 +0000
Subject: [PATCH] KNOWN_ISSUES: document signal conflicts in libs/apps

Jeffrey Yeung confirmed this issue on the mailing list.

ref: <E8D9E7CCC2621343A0A3BB45E8DEDFA91C682DD23D@CRPMBOXPRD04.polycom.com>
---
 KNOWN_ISSUES |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/KNOWN_ISSUES b/KNOWN_ISSUES index f323c68..38263e7 100644
--- a/KNOWN_ISSUES
+++ b/KNOWN_ISSUES
@@ -3,6 +3,11 @@
 Occasionally odd {issues}[link:ISSUES.html] arise without a transparent or  acceptable solution.  Those issues are documented here.
 
+* Some libraries/applications may install signal handlers which 
+conflict
+  with signal handlers unicorn uses.  Leaving "preload_app false"
+  (the default) will allow unicorn to always override existing signal
+  handlers.
+
 * Issues with FreeBSD jails can be worked around as documented by Tatsuya Ono:
   http://mid.gmane.org/CAHBuKRj09FdxAgzsefJWotexw-7JYZGJMtgUp_dhjPz9VbKD6Q@mail.gmail.com
 
_______________________________________________
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

^ permalink raw reply	[relevance 6%]

* Re: Unicorn_rails ignores USR2 signal
  @ 2012-03-20 19:57  7%                 ` Eric Wong
  2012-03-20 23:09  6%                   ` Yeung, Jeffrey
  0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2012-03-20 19:57 UTC (permalink / raw)
  To: unicorn list; +Cc: Yeung, Jeffrey

Eric Wong <normalperson@yhbt.net> wrote:
> "Yeung, Jeffrey" <Jeffrey.Yeung@polycom.com> wrote:
> > Sorry for the delay.  It looks like disabling preload_app did the
> > trick.  A new master was created after sending the USR2.  Now the $$$
> > question is, what in the world is intercepting the signal?  :S
> 
> Good to know, I'd just grep the installation directories for all your
> Ruby libs + gems for USR2.  I haven't seen this problem before, but it'd
> be good to document the conflict, at least.

Btw, did you ever figure out what was causing the conflict?

Pushing this out to git://bogomips.org/unicorn.git

>From 1e13ffee3469997286e65e0563b6433e7744388a Mon Sep 17 00:00:00 2001
From: Eric Wong <normalperson@yhbt.net>
Date: Tue, 20 Mar 2012 19:51:35 +0000
Subject: [PATCH] KNOWN_ISSUES: document signal conflicts in libs/apps

Jeffrey Yeung confirmed this issue on the mailing list.

ref: <E8D9E7CCC2621343A0A3BB45E8DEDFA91C682DD23D@CRPMBOXPRD04.polycom.com>
---
 KNOWN_ISSUES |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/KNOWN_ISSUES b/KNOWN_ISSUES
index f323c68..38263e7 100644
--- a/KNOWN_ISSUES
+++ b/KNOWN_ISSUES
@@ -3,6 +3,11 @@
 Occasionally odd {issues}[link:ISSUES.html] arise without a transparent or
 acceptable solution.  Those issues are documented here.
 
+* Some libraries/applications may install signal handlers which conflict
+  with signal handlers unicorn uses.  Leaving "preload_app false"
+  (the default) will allow unicorn to always override existing signal
+  handlers.
+
 * Issues with FreeBSD jails can be worked around as documented by Tatsuya Ono:
   http://mid.gmane.org/CAHBuKRj09FdxAgzsefJWotexw-7JYZGJMtgUp_dhjPz9VbKD6Q@mail.gmail.com
 
_______________________________________________
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

^ permalink raw reply related	[relevance 7%]

Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-03-09 21:48     Unicorn_rails ignores USR2 signal Yeung, Jeffrey
2012-03-09 22:24     ` Eric Wong
2012-03-09 22:39       ` Yeung, Jeffrey
2012-03-10  0:02         ` Eric Wong
2012-03-10  1:07           ` Yeung, Jeffrey
2012-03-10  1:30             ` Eric Wong
2012-03-12 21:21               ` Eric Wong
2012-03-12 22:39                 ` Yeung, Jeffrey
2012-03-12 22:44                   ` Eric Wong
2012-03-20 19:57  7%                 ` Eric Wong
2012-03-20 23:09  6%                   ` Yeung, Jeffrey
2012-03-22  6:30  6% unicorn 4.2.1 release soon? Eric Wong

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).