Worker restarts even when idle

Eric Wong normalperson at yhbt.net
Sun Oct 11 22:31:50 EDT 2009


Jeremy Evans <jeremyevans0 at gmail.com> wrote:
> On Sun, Oct 11, 2009 at 6:32 PM, Eric Wong <normalperson at yhbt.net> wrote:
> > Jeremy Evans <jeremyevans0 at gmail.com> wrote:
> > Can you try playing the following on OpenBSD and seeing if
> > the ctimes match for before and after?
<snip>
> The times are different:
> 
>   [Sun Oct 11 19:08:42 -0700 2009, Sun Oct 11 19:08:43 -0700 2009]

OK.

Is this only on a certain app/library that might use IO.select in a
different thread?  Can you reproduce it on a dead simple "Hello World"
app that you're certain is single-threaded?  It could be related to this
bug someone off list hit the other day:

  http://net-ssh.lighthouseapp.com/projects/36253/tickets/1

  (redmine.ruby-lang.org is dead right now :<)
  http://redmine.ruby-lang.org/issues/show/2039
  http://redmine.ruby-lang.org/issues/show/1993

Can you ktrace(? (or any other) syscall tracer) the worker immediately
after spawning and see what it's doing up until the master kills it?

The other possible culprit is that the accept_nonblock is blocking,
somehow...

-- 
Eric Wong


More information about the mongrel-unicorn mailing list