[Twisted-Python] Re: [Twisted-commits] r14683 - Make thetoMainThread Queue unlimited in size, instead of max size 1.

Stephen Thorne stephen at thorne.id.au
Sun Oct 9 17:45:56 MDT 2005


On Sat, 8 Oct 2005 12:30:50 +1000, Stephen Thorne <stephen at thorne.id.au> wrote:
>It seems there are significant memory consumption issues, i'm in the process 
>of figuring out if putting a sane upper limit on the queue (suggestions have 
>ranged from 100's to 100,000's) will stop my poor powermac from being 
>brought to its knees by threadedselectreactor.
>
>There are quite a few more failures in threadedselectreactor, I'm seeing 
>non-deterministic behaviour, things like tcp.Client using 
>reactor.callLater(0, self.failIfNotConnected, error) being a problem - 
>because if the branch in the code is taken that goes to that state, 
>self.socket doesn't get defined, and code can end up trying to write to that 
>socket and getting an AttributeError......
>
>Suffice it to say, I'm working on the issues here, and I want my buidslave 
>all green and pretty, I'll see about getting this resolved before the end of 
>the weekend.

Okay, I didn't get that done. I haven't resolved the issue, as it stands threadedselectreactor will not pass the twisted test-suite.

Stephen.




More information about the Twisted-Python mailing list