ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:23492] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have threading regressions
@ 2009-05-18  9:56 Hans de Graaff
  2009-05-19  5:24 ` [ruby-core:23498] Re: [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160have " John Carter
  2009-07-08 20:24 ` [ruby-core:24212] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have " Roger Pack
  0 siblings, 2 replies; 8+ messages in thread
From: Hans de Graaff @ 2009-05-18  9:56 UTC (permalink / raw
  To: ruby-core

Bug #1484: Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have threading regressions
http://redmine.ruby-lang.org/issues/show/1484

Author: Hans de Graaff
Status: Open, Priority: Normal
ruby -v: 1.8.6_p368, ruby 1.8.7_p160

Changes introduced in ruby 1.8.6_368 and ruby 1.8.7_p160 have regressions in the way they handle threading.

The following bug report for Capistrano details the regression: https://capistrano.lighthouseapp.com/projects/8716/tickets/79-capistrano-hangs-on-shell-command-for-many-computers-on-ruby-186-p368#ticket-79-22

Basically, when trying to deploy to more than one machine capistrano now hangs while eating up all CPU, instead of actually running the deployment tasks. Deploying to a single machine or deploying with e.g. ruby 1.8.7_p72 works fine.


----------------------------------------
http://redmine.ruby-lang.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:23498] Re: [Bug #1484] Ruby 1.8.6_p368 and Ruby  1.8.7_p160have threading regressions
  2009-05-18  9:56 [ruby-core:23492] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have threading regressions Hans de Graaff
@ 2009-05-19  5:24 ` John Carter
  2009-07-08 20:24 ` [ruby-core:24212] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have " Roger Pack
  1 sibling, 0 replies; 8+ messages in thread
From: John Carter @ 2009-05-19  5:24 UTC (permalink / raw
  To: ruby-core

On Mon, 18 May 2009, Hans de Graaff wrote:

> Bug #1484: Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have threading regressions
> http://redmine.ruby-lang.org/issues/show/1484

Possibly a duplicate of
   http://redmine.ruby-lang.org/issues/show/1471




John Carter                             Phone : (64)(3) 358 6639
Tait Electronics                        Fax   : (64)(3) 359 4632
PO Box 1645 Christchurch                Email : john.carter@tait.co.nz
New Zealand

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:24212] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have threading regressions
  2009-05-18  9:56 [ruby-core:23492] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have threading regressions Hans de Graaff
  2009-05-19  5:24 ` [ruby-core:23498] Re: [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160have " John Carter
@ 2009-07-08 20:24 ` Roger Pack
  2009-07-08 22:41   ` [ruby-core:24220] " Luis Lavena
  1 sibling, 1 reply; 8+ messages in thread
From: Roger Pack @ 2009-07-08 20:24 UTC (permalink / raw
  To: ruby-core

Issue #1484 has been updated by Roger Pack.


>Basically, when trying to deploy to more than one machine capistrano now hangs while eating up all CPU, instead of actually running the deployment tasks. Deploying to a single machine or deploying with e.g. ruby 1.8.7_p72 works fine.

Is this still the case?
=r
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1484

----------------------------------------
http://redmine.ruby-lang.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:24220] Re: [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160  have threading regressions
  2009-07-08 20:24 ` [ruby-core:24212] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have " Roger Pack
@ 2009-07-08 22:41   ` Luis Lavena
  2009-07-09  5:17     ` [ruby-core:24231] " Hans de Graaff
                       ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Luis Lavena @ 2009-07-08 22:41 UTC (permalink / raw
  To: ruby-core

On Wed, Jul 8, 2009 at 5:24 PM, Roger Pack<redmine@ruby-lang.org> wrote:
> Issue #1484 has been updated by Roger Pack.
>
>
>>Basically, when trying to deploy to more than one machine capistrano now hangs while eating up all CPU, instead of actually running the deployment tasks. Deploying to a single machine or deploying with e.g. ruby 1.8.7_p72 works fine.
>
> Is this still the case?
> =r

I see similar problems with all threading related tasks on Mongrel and
sqlite3-ruby threaded tests.

Could be a duplicate of the other bug report.
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:24231] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have threading regressions
  2009-07-08 22:41   ` [ruby-core:24220] " Luis Lavena
@ 2009-07-09  5:17     ` Hans de Graaff
  2009-08-25 16:43     ` [ruby-core:25120] " Daniel Azuma
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Hans de Graaff @ 2009-07-09  5:17 UTC (permalink / raw
  To: ruby-core

Issue #1484 has been updated by Hans de Graaff.


http://redmine.ruby-lang.org/issues/show/1471 contains some discussion and patches that I thought were successfull, but it seems in my initial testing I was lucky or not careful enough. In any case I'm still seeing this problem with capistrano deployments when deploying to more than one machine at the time.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1484

----------------------------------------
http://redmine.ruby-lang.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:25120] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have threading regressions
  2009-07-08 22:41   ` [ruby-core:24220] " Luis Lavena
  2009-07-09  5:17     ` [ruby-core:24231] " Hans de Graaff
@ 2009-08-25 16:43     ` Daniel Azuma
  2009-09-01 17:08     ` [ruby-core:25250] " Hongli Lai
  2009-09-07  5:57     ` [ruby-core:25450] " Hans de Graaff
  3 siblings, 0 replies; 8+ messages in thread
From: Daniel Azuma @ 2009-08-25 16:43 UTC (permalink / raw
  To: ruby-core

Issue #1484 has been updated by Daniel Azuma.


I just reported http://redmine.ruby-lang.org/issues/show/1993 against 1.8.7, which looks like it's the same issue. (Sorry, I should have looked through the bug lists of the other versions-- I had thought this was 1.8.7 specific.) That other report has some analysis of rb_thread_schedule() that I think explains why this is happening. See also http://www.daniel-azuma.com/blog/view/z2ysbx0e4c3it9/ruby_1_8_7_io_select_threading_bug
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1484

----------------------------------------
http://redmine.ruby-lang.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:25250] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have threading regressions
  2009-07-08 22:41   ` [ruby-core:24220] " Luis Lavena
  2009-07-09  5:17     ` [ruby-core:24231] " Hans de Graaff
  2009-08-25 16:43     ` [ruby-core:25120] " Daniel Azuma
@ 2009-09-01 17:08     ` Hongli Lai
  2009-09-07  5:57     ` [ruby-core:25450] " Hans de Graaff
  3 siblings, 0 replies; 8+ messages in thread
From: Hongli Lai @ 2009-09-01 17:08 UTC (permalink / raw
  To: ruby-core

Issue #1484 has been updated by Hongli Lai.


Hi guys, any updates on this ticket? Has it been fixed yet?
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1484

----------------------------------------
http://redmine.ruby-lang.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:25450] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have threading regressions
  2009-07-08 22:41   ` [ruby-core:24220] " Luis Lavena
                       ` (2 preceding siblings ...)
  2009-09-01 17:08     ` [ruby-core:25250] " Hongli Lai
@ 2009-09-07  5:57     ` Hans de Graaff
  3 siblings, 0 replies; 8+ messages in thread
From: Hans de Graaff @ 2009-09-07  5:57 UTC (permalink / raw
  To: ruby-core

Issue #1484 has been updated by Hans de Graaff.


As far as I know this has not been fixed yet, but net-ssh-2.0.14 contains a workaround that works with capistrano.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1484

----------------------------------------
http://redmine.ruby-lang.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-09-07  5:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-18  9:56 [ruby-core:23492] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have threading regressions Hans de Graaff
2009-05-19  5:24 ` [ruby-core:23498] Re: [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160have " John Carter
2009-07-08 20:24 ` [ruby-core:24212] [Bug #1484] Ruby 1.8.6_p368 and Ruby 1.8.7_p160 have " Roger Pack
2009-07-08 22:41   ` [ruby-core:24220] " Luis Lavena
2009-07-09  5:17     ` [ruby-core:24231] " Hans de Graaff
2009-08-25 16:43     ` [ruby-core:25120] " Daniel Azuma
2009-09-01 17:08     ` [ruby-core:25250] " Hongli Lai
2009-09-07  5:57     ` [ruby-core:25450] " Hans de Graaff

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