Re: [Twisted-Python] Weird epoller bug

2019-12-17 Thread Robert DiFalco
One more thing, there seems to be an error that can occur in _newclient.py where _finishedRequest will be type None and it's errback will be attempted to be called. Consider this in _newclient.py. If an exception occurs in in maybeDeferred before _finishedRequest is assigned, then it will be None w

Re: [Twisted-Python] Weird epoller bug

2019-12-17 Thread Robert DiFalco
I have a theory that since this runs every 20 seconds that it is falling behind somehow. Ulimits is too low, twisted is maybe eating the too many file handles exception and then trying to close a handle that doesn't actually exist. Dunno. On Tue, Dec 17, 2019 at 10:18 AM Robert DiFalco wrote: >

[Twisted-Python] Weird epoller bug

2019-12-17 Thread Robert DiFalco
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 thi