[Twisted-Python] carbon-relay eating CPU - EAGAIN (Resource temporarily unavailable)?

2013-11-25 Thread Quan Tong Anh
- Python 2.7.3 - [twisted, version 13.1.0] - xen-domU `atop` shows that `carbon-relay` is eating 80, 90% USRCPU. From the `strace`: accept(7, {sa_family=AF_INET, sin_port=htons(60649), sin_addr=inet_addr("192.237.222.81")}, [16]) = 257 accept(7, {sa_family=AF_INET, sin_port=htons(51564

Re: [Twisted-Python] Do Viewables absolutely have to be return'ed by Avatars?

2013-11-25 Thread Daniel Sank
>>> Question: Is there a way to distribute un-asked for references to >>> Viewables that properly get the perspective argument in their view_* >>> methods? >>> >>> >> I think this is a pretty reasonable question but nobody's biting. Did >> I do something wrong in the way I asked? >> >> > This is wh

Re: [Twisted-Python] Do Viewables absolutely have to be return'ed by Avatars?

2013-11-25 Thread Glyph
On Nov 22, 2013, at 11:20 AM, Daniel Sank wrote: >> Question: Is there a way to distribute un-asked for references to >> Viewables that properly get the perspective argument in their view_* >> methods? > > I think this is a pretty reasonable question but nobody's biting. Did > I do something wr

[Twisted-Python] IMAP4 Proxy to add headers and modify body of an incoming message

2013-11-25 Thread Krzysztof Oblucki
Hello, I am trying to write an IMAP proxy to modify headers and the body of an incoming message using twisted.  I am new to python and twisted so maybe this is why I either picked the wrong route or don't have the skills to get through some issues and I'm hoping that some you fine list members c

[Twisted-Python] EDNS(0) and DNSSEC support in Twisted Names

2013-11-25 Thread Richard Wall
Hello, I'm happy to announce that I've won some funding from The NLnet Foundation DNS Security Fund (http://www.nlnet.nl/dnssec/), to add EDNS(0) and DNSSEC (and possibly DANE) support to Twisted. The current project plan can be found here: * https://twistedmatrix.com/trac/wiki/EDNS0 If there a

Re: [Twisted-Python] Bristol (England!) sprint hosted by HybridCluster

2013-11-25 Thread exarkun
On 8 Nov, 07:31 pm, exar...@twistedmatrix.com wrote: On 5 Nov, 10:25 pm, exar...@twistedmatrix.com wrote: Greetings all, I'm pleased to invite you to join Tom Prince (2013 Twisted Fellow), Luke Marsden (founder of HybridCluster), and the HybridCluster team (including myself!) for the first Tw

Re: [Twisted-Python] [twisted.mail][newbie] return tempfail (4xx) after eomReceived()

2013-11-25 Thread exarkun
On 10:06 am, sangiova...@nweb.it wrote: Hi, thanks for your anwser, and forgive my late follow up. So, I understand that this feature is currently missing in twisted. I suppose that the only thing to do in my case is to override the _messageHandled method, and implement all the logic needed to

Re: [Twisted-Python] logging (was: How to get ServerOptions in tac file.)

2013-11-25 Thread exarkun
On 24 Nov, 11:55 pm, jonas.brunsga...@gmail.com wrote: Does anyone know if there are any plans to update, the logging system in twistd at some point, so it integrates better with native python logging system? What does "integrates better" mean? I have to use the following logging scheme (gl

Re: [Twisted-Python] [twisted.mail][newbie] return tempfail (4xx) after eomReceived()

2013-11-25 Thread Fabio Sangiovanni
Hi, thanks for your anwser, and forgive my late follow up. So, I understand that this feature is currently missing in twisted. I suppose that the only thing to do in my case is to override the _messageHandled method, and implement all the logic needed to my purpose. Is this correct? Are you aw