On Mon, Sep 25, 2017 at 11:44:52AM -0700, Antonio Terceiro wrote: > Hi, > > thanks for your bug report > [...] > > Our case seems identical to this [1] bug report. We have applied the patch > > [2] > > by Eric Wong and the problem seems resolved without causing any other > > problems. > > > > [1] https://bugs.ruby-lang.org/issues/13794 > > [2] https://80x24.org/spew/20170809232533.14932-...@80x24.org/raw > > can you provide a minimal test case that can reproduce the issue that > does not take hours/days? The attached script sometimes exits and leaves a stray child process on busyloop when run as:
`while nice -n19 ruby sched_yield_loop.rb; do :; done` > > Also, it would be nice to have some feedback from upstream about whether > one of those patches is going to be applied. I would not like to to > carry such patch indefinitely. The patch i mentioned was just merged in [1] and seems to be tagged as needing backport to v2.3 on ruby's bugtracker. ` Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: UNKNOWN, 2.3: REQUIRED, 2.4: REQUIRED ` [1] https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/60079 Kind regards, -- Gregory Potamianos Skroutz S.A greg...@skroutz.gr
sched_yield_loop.rb
Description: application/ruby