[tahoe-dev] [tahoe-lafs] #737: python2.5 setup.py test runs CPU to 100% on 32-bit single-core NetBSD "4"

tahoe-lafs trac at allmydata.org
Thu Jun 18 05:01:19 PDT 2009


#737: python2.5 setup.py test runs CPU to 100% on 32-bit single-core NetBSD "4"
---------------------------+------------------------------------------------
 Reporter:  midnightmagic  |           Owner:  somebody 
     Type:  defect         |          Status:  new      
 Priority:  major          |       Milestone:  undecided
Component:  code           |         Version:  1.4.1    
 Keywords:                 |   Launchpad_bug:           
---------------------------+------------------------------------------------
Changes (by bdew):

 * cc: blackdew@… (added)


Comment:

 I think i (patrially) figured this out...

 Looks like there is a bug either somwhere in tahoe or foolscap that causes
 foolscap.eventual._SimpleCallQueue._turn to be scheduled with a delay of
 NaN.

 From what i can see the methods in _SimpleCallQueue allways install it
 with reactor.callLater(0, self._turn) - so it is somwhere else.

 Anyway, this triggers a bug in twisted that makes the delayed call stick
 in reactor._pendingTimedCalls forever and no later timed calls get
 processed. Also in this state reactor.timeout() returns 0 and the reactor
 starts iterating without delay causing 100% CPU load.

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/737#comment:2>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list