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>
Subject: Re: unicorn stuck in sched_yield after ERESTARTNOHAND
Date: Tue, 31 May 2011 08:17:37 -0700	[thread overview]
Message-ID: <20110531151737.GA10313@dcvr.yhbt.net> (raw)
In-Reply-To: <BANLkTinPK-QBWE2YireOEqcT1G+RnRiyBw@mail.gmail.com>

Bharanee Rathna <deepfryed@gmail.com> wrote:
> A bit of research suggestsi that rb_thread_wait has
> issues when the select receives ERESTARTNOHAND, any ideas as to why
> this might be happening ?

Not sure, could be a bug in Ruby itself, kernel, or glibc.

I've seen similar reports of this in the past outside of Unicorn but
don't recall ever finding a satisfactory explanation.

> I'm running
> 
> $ uname -a
> Linux bbox 2.6.38-02063806-generic #201105121509 SMP Thu May 12
> 15:14:14 UTC 2011 x86_64 GNU/Linux
> 
> $ ruby -v
> ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]

Can you try 1.9.2-p180 or Ruby trunk?  Or maybe a different version of
glibc, too.  Do you have any non-standard kernel patches/scheduler
configs?

-- 
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-05-31 15:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BANLkTikFid3n0QpsrnXf2oNansFmuJDyuw@mail.gmail.com>
     [not found] ` <BANLkTimF78PW9YgEAURS604Q8mucNwSDrg@mail.gmail.com>
2011-05-31 12:02   ` unicorn stuck in sched_yield after ERESTARTNOHAND Bharanee Rathna
2011-05-31 15:17     ` Eric Wong [this message]
2011-05-31 22:28       ` Bharanee Rathna
2011-05-31 23:48     ` Eric Wong
2011-06-01  0:31       ` Bharanee Rathna
2011-06-01  0:44         ` Bharanee Rathna
2011-06-01 16:48         ` Eric Wong

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=20110531151737.GA10313@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --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).