unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Cc: Jesse Cooke <jesse@jc00ke.com>
Subject: Re: SIGTERM not actually killing processes
Date: Mon, 25 Jul 2011 14:22:15 -0700	[thread overview]
Message-ID: <20110725212215.GA17101@dcvr.yhbt.net> (raw)
In-Reply-To: <CAFgS5CznD71gb4RZiVB9DSGZfXJ4YOVf04DQc=Gp2MMpP-ChNg@mail.gmail.com>

Jesse Cooke <jesse@jc00ke.com> wrote:
> Hi,
> Unicorn is saying it's terminating but it's not actually. Check out
> the gist: https://gist.github.com/1104930
> 
> Using:
> - Ruby 1.9.2p180
> - unicorn 4.0.1
> - kgio 2.6.0
> - bundler 1.0.15
> - Linux maynard 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17
> UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
> 
> Please let me know if there's any other info I can provide.

Since it's a 2.6.38 kernel, I it could be this bug:
  https://bugzilla.kernel.org/show_bug.cgi?id=32922

Linux 2.6.38.4 should have the fix, but I'm not sure if Ubuntu
backported that fix to its 2.6.38-10 package.

Rubyists have seen this issue a few times already:
  http://redmine.ruby-lang.org/issues/4777
  http://redmine.ruby-lang.org/issues/4939


Also, can you try sending signals directly to Unicorn without foreman?
I'm not familiar with foreman at all, maybe somebody else on this list
is...

-- 
Eric Wong
_______________________________________________
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:[~2011-07-25 21:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-25 20:21 SIGTERM not actually killing processes Jesse Cooke
2011-07-25 21:22 ` Eric Wong [this message]
     [not found]   ` <DA420539FB904E888DB3B397DC431B7C@gmail.com>
     [not found]     ` <CAFgS5CxwCmHL65W39R2W73YfUK34WX50DS_JJF4L-d_tQuH86Q@mail.gmail.com>
2011-07-25 23:20       ` Jesse Cooke

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=20110725212215.GA17101@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=jesse@jc00ke.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).