[Twisted-Python] Epoll error after upgrading from 10.0 to 12.3
Alec Matusis
matusis at yahoo.com
Sun Mar 3 21:00:18 EST 2013
> If you don't find a ticket for the bug, you should report it. Please be
sure to include enough information to reproduce the issue if you file a new
ticket (or as much information as you have, at least).
> Jean-Paul
I filed http://twistedmatrix.com/trac/ticket/6346
It's hard to do any detailed analysis on a live production system, so I do
not know how to reliably reproduce it, except that it spontaneously happened
on two more additional servers last night. strace looks more or less the
same as on a normal server, but given the volume each server has 100s
connections per second) it's hard to parse strace output. I now believe that
after the first error occurs the server remains overall functional and still
accepts new connections, but a growing number of existing connections
becomes affected, and the logs become flooded with this error.
Since this is a production system I have to revert to 10.0.0 now.
-----Original Message-----
From: twisted-python-bounces at twistedmatrix.com
[mailto:twisted-python-bounces at twistedmatrix.com] On Behalf Of
exarkun at twistedmatrix.com
Sent: Saturday, March 02, 2013 10:06 PM
To: twisted-python at twistedmatrix.com
Subject: Re: [Twisted-Python] Epoll error after upgrading from 10.0 to 12.3
On 05:21 am, matusis at yahoo.com wrote:
>I had 60 busy tcp servers that ran on Python 2.6/Twisted 10.0 (or
>Twisted
>9.0) for over two years with not problems. After I upgraded to Twisted
>12.3/Python 2.7, I started getting the errors below (no application
>code changes). It took about two days for the first error to appear on
>a busy server under heavy load:
>
>[snip]
>
>After the error occurs, the server usually locks up and does not accept
>new connections. One server self-recovered after these errors after
>30min outage, and started accepting new connections.
>Apparently I am not the ony one who has enountered this:
>http://stackoverflow.com/questions/12600137/twisted-internet-
>epollreactor-py
>-line-238-in-add
>
>Is there a patch available, or should I roll back to 10.0.0?
Doesn't look familiar to me. You should search the bug tracker. If there
is a patch (or an svn branch), that's where you'll find it. If you don't
find a ticket for the bug, you should report it. Please be sure to include
enough information to reproduce the issue if you file a new ticket (or as
much information as you have, at least).
Jean-Paul
_______________________________________________
Twisted-Python mailing list
Twisted-Python at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
More information about the Twisted-Python
mailing list