[Twisted-Python] [ANN] txZMQ released

2011-04-27 Thread Andrey Smirnov
Hi! I would like to announce txZMQ, ZeroMQ bindings for Twisted. txZMQ is based on pyzmq and requires recent ØMQ version (>=2.1). txZMQ uses ØMQ APIs to get file descriptor that is used to signal pending actions from ØMQ library IO thread running in separate thread. txZMQ should be usable with an

[Twisted-Python] Anyone ever used successfully sqlanydb together with Twisted and adbapi?

2011-04-27 Thread Hynek Schlawack
Hi, I've essentially written a whois daemon that serves via TCP as well as via web, fetching its data from a sqlanywhere 12 server, using the official sqlanydb driver. Everything works fine except for occasional SIGABRTs (or inside of gdb: SIGSEGVs inside of the sqlanywhere binary driver) in the

Re: [Twisted-Python] Did anyone use twisted on windows (IOCP)?

2011-04-27 Thread Dfgqq Dfgqq
Hi glyph Thanks for your replying.. I didn't say it was a bug because it probably caused by some incorrect usages. my problem was: we have thousands of machines connect on the server via tcp (the number of machines might be varied from 3000 to 7000). all connections are long connection which

Re: [Twisted-Python] 100% CPU on high opened descriptors

2011-04-27 Thread Ray Cote
No. It's recommended to fix bugs in Twisted that affect you :). Well, that too. :} ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Did anyone use twisted on windows (IOCP)?

2011-04-27 Thread Ray Cote
From: "Dfgqq Dfgqq" To: Twisted-Python@twistedmatrix.com Sent: Wednesday, April 27, 2011 3:28:12 AM Subject: [Twisted-Python] Did anyone use twisted on windows (IOCP)? Hi All Currently, i am planning rewrite some parts with twisted & iocp. These parts are related to Tcp connection with

Re: [Twisted-Python] Did anyone use twisted on windows (IOCP)?

2011-04-27 Thread Stephen Thorne
On 2011-04-27, Glyph Lefkowitz wrote: > On Apr 27, 2011, at 3:28 AM, Dfgqq Dfgqq wrote: > > Currently, i am planning rewrite some parts with twisted & > > iocp. These parts are related to Tcp connection without SSL. > > I want to know whether IOCP is ready for production or not. >

Re: [Twisted-Python] Question about StreamServerEndpointService

2011-04-27 Thread Glyph Lefkowitz
On Apr 27, 2011, at 4:26 AM, Albert Brandl wrote: > Hi! > > On Wed, Apr 27, 2011 at 01:19:28AM -0400, Glyph Lefkowitz wrote: >> >> I haven't investigated too thoroughly, but it sounds like you have, and >> this does indeed sound like a bug. Could you write it up >> (

Re: [Twisted-Python] Did anyone use twisted on windows (IOCP)?

2011-04-27 Thread Glyph Lefkowitz
On Apr 27, 2011, at 3:28 AM, Dfgqq Dfgqq wrote: > Hi All > > Currently, i am planning rewrite some parts with twisted & iocp. These > parts are related > to Tcp connection without SSL. I want to know whether IOCP is ready for > production or not. Yes. Many people use it in production.

Re: [Twisted-Python] Question about StreamServerEndpointService

2011-04-27 Thread Albert Brandl
Hi! On Wed, Apr 27, 2011 at 01:19:28AM -0400, Glyph Lefkowitz wrote: > > I haven't investigated too thoroughly, but it sounds like you have, and > this does indeed sound like a bug. Could you write it up > (), so it doesn't get lost? Sure - http://twi

[Twisted-Python] Did anyone use twisted on windows (IOCP)?

2011-04-27 Thread Dfgqq Dfgqq
Hi All Currently, i am planning rewrite some parts with twisted & iocp. These parts are related to Tcp connection without SSL. I want to know whether IOCP is ready for production or not. I ran some tests with twisted 10.20, 8.10 before. The IOCP part had many problems. I haven't give a

Re: [Twisted-Python] 100% CPU on high opened descriptors

2011-04-27 Thread Juan Antonio Ibañez Santorum
Thank you very much for your tip Patrick! 2011/4/27 Patrick Mylund Nielsen > That is sufficient, yes. > > You might even want to make that 'epoll' since it scales better than > poll (assuming you're running on Linux 2.6+ only) > > Best, > Patrick > > 2011/4/27 Juan Antonio Ibañez Santorum : > >

Re: [Twisted-Python] 100% CPU on high opened descriptors

2011-04-27 Thread Patrick Mylund Nielsen
That is sufficient, yes. You might even want to make that 'epoll' since it scales better than poll (assuming you're running on Linux 2.6+ only) Best, Patrick 2011/4/27 Juan Antonio Ibañez Santorum : > Must I make any change appart from start the app with twistd plus '-r poll'? > > 2011/4/27 Luke