[Twisted-web] FTP: DTPFactory timeout - does an unhandled exception imply a problem?

Tom Sheffler tom.sheffler at gmail.com
Mon Oct 31 13:20:29 EDT 2011


I'm experimenting with the FTP protocol and noticed the following during
certain timeout conditions.

My first question is: when an unhandled exception occurs, do things get
cleaned up properly, or is this an indication that we're losing memory or
resources?

Thanks.

Here is an excerpt:

2011-10-31 10:14:04-0700 [-] timed out waiting for DTP connection
2011-10-31 10:14:04-0700 [-] Unexpected FTP error
2011-10-31 10:14:04-0700 [-] Unhandled Error
Traceback (most recent call last):
Failure: twisted.protocols.ftp.PortConnectionError: DTPFactory timeout
2011-10-31 10:14:14-0700 [ProtocolWrapper,0,127.0.0.1] cleanupDTP
2011-10-31 10:14:14-0700 [ProtocolWrapper,0,127.0.0.1] <<class
'twisted.internet.tcp.Port'> of twisted.protocols.ftp.DTPFactory on xxx>
2011-10-31 10:14:14-0700 [ProtocolWrapper,0,127.0.0.1]
dtpFactory.stopFactory

-Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20111031/53a7aa34/attachment.htm 


More information about the Twisted-web mailing list