Re: [Twisted-Python] State of snmp

2010-09-22 Thread Landreville
On Wed, Sep 22, 2010 at 12:48 PM, Ilya Etingof wrote: > > You may want to take a look at pysnmp 4.x, which has Twisted binding > built-in. > >> What is the current recommended (or most popular) way of using SNMP >> with Twisted? >> >> I have tried TwistedSNMP, but it seems to only work with an old

Re: [Twisted-Python] Graceful/Hitless restart

2010-09-22 Thread exarkun
On 05:09 pm, ruslan.usi...@gmail.com wrote: >Hello! Sorry for my bad English! > >Can anybody provide some samples how to implement Graceful restart in >twisted? There's no special way to do this with Twisted. Perhaps the comments on http://twistedmatrix.com/trac/ticket/4072 will help you, though

Re: [Twisted-Python] High traffic connection issue

2010-09-22 Thread exarkun
On 05:47 pm, ted.peder...@gmail.com wrote: >Trying to do some scalability testing on my first twisted server. > >When I have hundreds of connections and moments of very high server >activity >I am seeing that clients are unable to connect. > >Here are some numbers: 250 open TCP connections. I see

[Twisted-Python] High traffic connection issue

2010-09-22 Thread Ted Pederson
Trying to do some scalability testing on my first twisted server. When I have hundreds of connections and moments of very high server activity I am seeing that clients are unable to connect. Here are some numbers: 250 open TCP connections. I see 857 operations in my log during the second where a

[Twisted-Python] Graceful/Hitless restart

2010-09-22 Thread ruslan usifov
Hello! Sorry for my bad English! Can anybody provide some samples how to implement Graceful restart in twisted? Thanks ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] file descriptor cannot be a negative integer (-1)

2010-09-22 Thread ruslan usifov
ok i provide sample till the end of this week 2010/9/20 Glyph Lefkowitz > > On Sep 20, 2010, at 10:34 AM, ruslan usifov wrote: > > I implement specific proxy server, so after analyze i think that this > happens if client disconnected from server, but server already made > connection to proxied s

Re: [Twisted-Python] State of snmp

2010-09-22 Thread Ilya Etingof
You may want to take a look at pysnmp 4.x, which has Twisted binding built-in. > What is the current recommended (or most popular) way of using SNMP > with Twisted? > > I have tried TwistedSNMP, but it seems to only work with an old > version of pysnmp that I can't find -- the TwistedSNMP websit

[Twisted-Python] State of snmp

2010-09-22 Thread Landreville
Hello, What is the current recommended (or most popular) way of using SNMP with Twisted? I have tried TwistedSNMP, but it seems to only work with an old version of pysnmp that I can't find -- the TwistedSNMP website says pysnmp version 3.x, but pysnmp's website says the latest version is 2.x. I

Re: [Twisted-Python] How to cap the buffering size of data to be sent in Protocol class

2010-09-22 Thread Phil Mayers
On 09/22/2010 08:52 AM, Weikai Xie wrote > My questions is that whether there is any mechanism in Twisted > which can be used to set the maximum buffering size of the Protocol; > and whenever if this cap is reached, I can be informed to give a > chance to know the client is experiencing proble

[Twisted-Python] How to cap the buffering size of data to be sent in Protocol class

2010-09-22 Thread Weikai Xie
Folks, I have a server program which basically use a protocol.Protocol class to send a continuous byte stream to clients on TCP connections. However, I found , for whatever reason, if a client hung up and failed to remove the data from its receiving socket buffer, then the memory usage of the