I&#39;m experimenting with the FTP protocol and noticed the following during certain timeout conditions.<div><br></div><div>My first question is: when an unhandled exception occurs, do things get cleaned up properly, or is this an indication that we&#39;re losing memory or resources?</div>
<div><br></div><div>Thanks.</div><div><br></div><div>Here is an excerpt:</div><div><br></div><div><div>2011-10-31 10:14:04-0700 [-] timed out waiting for DTP connection</div><div>2011-10-31 10:14:04-0700 [-] Unexpected FTP error</div>
<div>2011-10-31 10:14:04-0700 [-] Unhandled Error</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Traceback (most recent call last):</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Failure: twisted.protocols.ftp.PortConnectionError: DTPFactory timeout</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div>2011-10-31 10:14:14-0700 [ProtocolWrapper,0,127.0.0.1] cleanupDTP</div><div>2011-10-31 10:14:14-0700 [ProtocolWrapper,0,127.0.0.1] &lt;&lt;class &#39;twisted.internet.tcp.Port&#39;&gt; of twisted.protocols.ftp.DTPFactory on xxx&gt;</div>
<div>2011-10-31 10:14:14-0700 [ProtocolWrapper,0,127.0.0.1] dtpFactory.stopFactory</div></div><div><br></div><div>-Tom</div><div><br></div>