Re: [Twisted-Python] Another newbie question... out of file descriptors?

2010-02-25 Thread K. Richard Pixley
Glyph Lefkowitz wrote: On Feb 25, 2010, at 10:00 PM, exar...@twistedmatrix.com wrote: On 03:55 am, r...@noir.com wrote: Can anyone explain this result to me? It looks to me as though the SelectReactor is leaking file descriptors. Granted, it's a pathological case, but it's not uncommo

Re: [Twisted-Python] Another newbie question... out of file descriptors?

2010-02-25 Thread Glyph Lefkowitz
On Feb 25, 2010, at 10:00 PM, exar...@twistedmatrix.com wrote: > On 03:55 am, r...@noir.com wrote: >> Can anyone explain this result to me? >> >> It looks to me as though the SelectReactor is leaking file descriptors. >> Granted, it's a pathological case, but it's not uncommon if you're >> runni

Re: [Twisted-Python] Another newbie question... out of file descriptors?

2010-02-25 Thread exarkun
On 03:55 am, r...@noir.com wrote: >Can anyone explain this result to me? > >It looks to me as though the SelectReactor is leaking file descriptors. >Granted, it's a pathological case, but it's not uncommon if you're >running a bunch of tests. See ticket #3063. Jean-Paul _

[Twisted-Python] Another newbie question... out of file descriptors?

2010-02-25 Thread K. Richard Pixley
Can anyone explain this result to me? It looks to me as though the SelectReactor is leaking file descriptors. Granted, it's a pathological case, but it's not uncommon if you're running a bunch of tests. --rich r...@black.noir.com> cat demo.py from twisted.internet.selectreactor import SelectR

Re: [Twisted-Python] multiprocessing capability?

2010-02-25 Thread Alexandre Quessy
Hello ! 2010/2/25 Johann Borck : > Darren Govoni wrote: >> The nice thing about using Python's process support is that you can >> spawn native Processes that run in separate heaps directly from ONE >> Python Twisted app. Not many running side-by-side, which adds the >> complexity of now coordinati

Re: [Twisted-Python] multiprocessing capability?

2010-02-25 Thread Johann Borck
Darren Govoni wrote: > What you refer to is different than what I need. The real 'Process' > implementation is new to Python 2.6 > http://docs.python.org/library/multiprocessing.html > and is not supported in Twisted at the moment. The Process or threads > in Twisted now, use Python threading/pro

Re: [Twisted-Python] multiprocessing capability?

2010-02-25 Thread Darren Govoni
Thank you for that clarification. On Thu, 2010-02-25 at 19:54 -0600, Christopher Armstrong wrote: > On Thu, Feb 25, 2010 at 7:33 PM, Darren Govoni wrote: > > What you refer to is different than what I need. The real 'Process' > > implementation is new to Python 2.6 > > http://docs.python.org/lib

Re: [Twisted-Python] multiprocessing capability?

2010-02-25 Thread Christopher Armstrong
On Thu, Feb 25, 2010 at 7:33 PM, Darren Govoni wrote: > What you refer to is different than what I need. The real 'Process' > implementation is new to Python 2.6 > http://docs.python.org/library/multiprocessing.html > and is not supported in Twisted at the moment. The Process or threads in > Twist

Re: [Twisted-Python] multiprocessing capability?

2010-02-25 Thread Darren Govoni
What you refer to is different than what I need. The real 'Process' implementation is new to Python 2.6 http://docs.python.org/library/multiprocessing.html and is not supported in Twisted at the moment. The Process or threads in Twisted now, use Python threading/process constructs outside of the ne

Re: [Twisted-Python] debugging a memory leak

2010-02-25 Thread exarkun
On 01:24 am, johann.bo...@densedata.com wrote: >Alec Matusis wrote: >>In desperation of not finding the real memory leak on the production >>server, >> >>I wrote a test server that I can push to arbitrary high RSS memory. I >>am far >>from sure if this the same leak that I observe in production,

Re: [Twisted-Python] debugging a memory leak

2010-02-25 Thread Johann Borck
Alec Matusis wrote: > In desperation of not finding the real memory leak on the production server, > > I wrote a test server that I can push to arbitrary high RSS memory. I am far > from sure if this the same leak that I observe in production, but I would > like to understand what this one is. > T

Re: [Twisted-Python] multiprocessing capability?

2010-02-25 Thread Johann Borck
Darren Govoni wrote: > The nice thing about using Python's process support is that you can > spawn native Processes that run in separate heaps directly from ONE > Python Twisted app. Not many running side-by-side, which adds the > complexity of now coordinating among them (however easy with > a

Re: [Twisted-Python] PyCon sprint 2010

2010-02-25 Thread Drew Smathers
On Thu, Feb 25, 2010 at 4:39 PM, Jonathan Lange wrote: > [snip] In particular, if you attended and your name isn't there, I want to hear > from you. > > Hey, I was there for the spring Monday night doing very little beyond getting acquainted with the review process and submitting a few patches f

Re: [Twisted-Python] PyCon sprint 2010

2010-02-25 Thread Kevin Horn
I was there a bit Sunday night and most of Monday sprinting on the lore->sphinx docs conversion. It's _almost_ done. No really, I mean it! Kevin Horn (khorn on irc) On Thu, Feb 25, 2010 at 3:39 PM, Jonathan Lange wrote: > Hey guys, > > There's a bunch of cool stuff on > http://twistedmatrix.c

Re: [Twisted-Python] multiprocessing capability?

2010-02-25 Thread Darren Govoni
The nice thing about using Python's process support is that you can spawn native Processes that run in separate heaps directly from ONE Python Twisted app. Not many running side-by-side, which adds the complexity of now coordinating among them (however easy with additional protocols like spread).

[Twisted-Python] PyCon sprint 2010

2010-02-25 Thread Jonathan Lange
Hey guys, There's a bunch of cool stuff on http://twistedmatrix.com/trac/wiki/PyconSprint2010 about what we did at the sprint in PyCon. I want to write this up & blog about it for labs.tm.com, but before I do that, I'd like you to look at that page and tell me if anything is missing -- no matter

Re: [Twisted-Python] python3 story?

2010-02-25 Thread Tristan Seligmann
On Thu, Feb 25, 2010 at 8:50 PM, K. Richard Pixley wrote: > Does twisted have a python3 story? http://stackoverflow.com/questions/172306/how-are-you-planning-on-handling-the-migration-to-python-3/214601#214601 -- mithrandi, i Ainil en-Balandor, a faer Ambar _

Re: [Twisted-Python] multiprocessing capability?

2010-02-25 Thread K. Richard Pixley
Single threaded, event loop based code like twisted rocks hard. Once upon a time, threads were like that too and the distinction between threads and event loops was grey. But with the advent of mandatory preemptive thread scheduling and the ability to run multiple threads on separate shared m

[Twisted-Python] python3 story?

2010-02-25 Thread K. Richard Pixley
Does twisted have a python3 story? Whatever it is, it should probably be in the release 10 doc and perhaps also on the web site. --rich ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/

Re: [Twisted-Python] multiprocessing capability?

2010-02-25 Thread K. Richard Pixley
Mikhail Terekhov wrote: On Wed, Feb 24, 2010 at 3:04 PM, K. Richard Pixley wrote: I'm working on an interface right now to the spread toolkit, (http://spread.org), which implements virtual synchrony, (http://en.wikipedia.org/wiki/Virtual_synchrony). For distributed, symmetric, fault toleran

[Twisted-Python] Please test 10.0.0pre2!

2010-02-25 Thread Jonathan Lange
Hello, We inch ever closer to the precipice of our collective doom. The sun will one day burn cold; all things must end; Twisted shall be released. I've uploaded 10.0.0pre2 tarballs to http://people.canonical.com/~jml/Twisted/. The changes since the pre1 are mostly to do with version numbers in d