<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Glyph Lefkowitz wrote:
<blockquote
 cite="mid:61B2571F-7D17-4CE5-A40C-15A1D8A83DF8@twistedmatrix.com"
 type="cite">
  <pre wrap="">On Feb 25, 2010, at 10:00 PM, <a class="moz-txt-link-abbreviated" href="mailto:exarkun@twistedmatrix.com">exarkun@twistedmatrix.com</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">On 03:55 am, <a class="moz-txt-link-abbreviated" href="mailto:rich@noir.com">rich@noir.com</a> wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Can anyone explain this result to me?

It looks to me as though the SelectReactor is leaking file descriptors.
Granted, it's a pathological case, but it's not uncommon if you're
running a bunch of tests.
      </pre>
    </blockquote>
    <pre wrap="">See ticket #3063.

Jean-Paul
    </pre>
  </blockquote>
  <pre wrap=""><!---->
For your clicking (and google's indexing) enjoyment, that's <a class="moz-txt-link-rfc2396E" href="http://twistedmatrix.com/trac/ticket/3063">&lt;http://twistedmatrix.com/trac/ticket/3063&gt;</a>.
  </pre>
</blockquote>
Thanks.<br>
<br>
Is it a reasonable workaround, or are there any nonobvious downsides to
using <tt>reactor.waker.connectionLost(None)</tt>&nbsp; either...<br>
<br>
a) immediately after instantiating my reactor, (assuming I don't need a
waker), or...<br>
b) immediately before or after calling reactor.stop<br>
<br>
I guess I'm asking why that hasn't been included in reactor.stop
already.<br>
<br>
--rich<br>
</body>
</html>