Re: [Twisted-Python] How do I debug this network problem?

2014-11-14 Thread Peter Westlake
On Fri, 14 Nov 2014, at 20:36, exar...@twistedmatrix.com wrote: > On 05:38 pm, peter.westl...@pobox.com wrote: > > > >Here is some highly suspicious-looking output from strace: > > > >sendto(5, "\0\4_ask\0\004867c\0\10_command\0\tLogOutpu"..., 343, 0, > >NULL, 0) = 343 recvfrom(5, > > >>"\0\7_answ

Re: [Twisted-Python] How do I debug this network problem?

2014-11-14 Thread exarkun
On 05:38 pm, peter.westl...@pobox.com wrote: Here is some highly suspicious-looking output from strace: sendto(5, "\0\4_ask\0\004867c\0\10_command\0\tLogOutpu"..., 343, 0, NULL, 0) = 343 recvfrom(5, "\0\7_answer\0\004867c\0\6status\0\4True\0\0", 65536, 0, NULL, NULL) = 31 sendto(5, "\0\4_ask\0\

Re: [Twisted-Python] How do I debug this network problem?

2014-11-14 Thread Peter Westlake
On Thu, 13 Nov 2014, at 17:01, Peter Westlake wrote: > >>> I've put in the dataReceived, and the answer box does*not*make it >>> into the Protocol. There are two entries in >>> protocol._outstandingRequests: {'2189': , '2188': >>> } and the log output shows 2186, 2187, 218a, 218b, ... >> >> So, wa

Re: [Twisted-Python] Sending longer messages in AMP

2014-11-14 Thread Gavin Panella
On 13 November 2014 18:19, wrote: > On 02:57 pm, ga...@gromper.net wrote: >> >> Hi, >> >> We're using AMP and are starting to hit TooLong errors when scaling >> our application. In one respect it's a sign that we should do >> something like paging large requests and responses, but that's a lot >>