Weird epoller bug
Robert DiFalco <[email protected]> Tue, 17 Dec 2019 10:18:52 -0800
| Newsgroups | gmane.comp.python.twisted |
|---|---|
| Message-ID | <CAAXGW-yezDBDTcpH7wGL66yq3+M0o-3nPZ=Ux7piwdQZ2LBN8A@mail.gmail.com> |
--===============0365668765056020853==
Content-Type: multipart/alternative; boundary="000000000000dfb9dc0599ea5cc9"
--000000000000dfb9dc0599ea5cc9
Content-Type: text/plain; charset="UTF-8"
We recently switched from these versions and recently our TLS health check
using treq seems to be using more and more file handles and getting this
exception. Additionally our health check gets response time outs at a much
higher frequency. Any tips on how I would go about debugging this? Or is
this perhaps a known issue in one of the versions below and I need to
either bump up or down a release version? Thanks!
twisted 16.6.0 -> 19.19.0
treq 15.1.0 -> 18.6.0
File
"/home/foo/foo/local/lib/python2.7/site-packages/twisted/internet/epollreactor.py",
line 183, in removeWriter
EPOLLOUT, EPOLLIN)
File
"/home/foo/foo/local/lib/python2.7/site-packages/twisted/internet/epollreactor.py",
line 160, in _remove
self._poller.unregister(fd)
exceptions.IOError: [Errno 2] No such file or directory
--000000000000dfb9dc0599ea5cc9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">We recently switched from these versions and recently our =
TLS health check using treq seems to be using more and more file handles an=
d getting this exception. Additionally our health check gets response time =
outs at a much higher frequency. Any tips on how I would go about debugging=
this? Or is this perhaps a known issue in one of the versions below and I =
need to either bump up or down a release version? Thanks!<div><br></div><di=
v>twisted 16.6.0 -> 19.19.0</div><div>treq 15.1.0 -> 18.6.0<div><div>=
<br></div><div>=C2=A0 File "/home/foo/foo/local/lib/python2.7/site-pac=
kages/twisted/internet/epollreactor.py", line 183, in removeWriter<br>=
=C2=A0 =C2=A0 EPOLLOUT, EPOLLIN)<br>=C2=A0 File "/home/foo/foo/local/l=
ib/python2.7/site-packages/twisted/internet/epollreactor.py", line 160=
, in _remove<br>=C2=A0 =C2=A0 self._poller.unregister(fd)<br>exceptions.IOE=
rror: [Errno 2] No such file or directory<br><br><br><table cellpadding=3D"=
0" class=3D"gmail-ajC" style=3D"border-spacing:0px;line-height:20px;color:r=
gb(0,0,0);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-si=
ze:14px"><tbody><tr class=3D"gmail-ajv"><td colspan=3D"2" tabindex=3D"0" cl=
ass=3D"gmail-gL" style=3D"vertical-align:top;width:auto;padding:2px 0px"><s=
pan class=3D"gmail-gI" style=3D"vertical-align:top"><br class=3D"gmail-Appl=
e-interchange-newline"><br></span></td></tr></tbody></table></div></div></d=
iv></div>
--000000000000dfb9dc0599ea5cc9--
--===============0365668765056020853==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVHdpc3RlZC1Q
eXRob24gbWFpbGluZyBsaXN0ClR3aXN0ZWQtUHl0aG9uQHR3aXN0ZWRtYXRyaXguY29tCmh0dHBz
Oi8vdHdpc3RlZG1hdHJpeC5jb20vY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL3R3aXN0ZWQtcHl0
aG9uCg==
--===============0365668765056020853==--