Red Hat Bugzilla – Bug 174599
ftp leaks socket fds when it fails to open a file
Last modified: 2007-11-30 17:07:09 EST
1. Connect to an ftp site using ftp
2. Count the number of opened sockets using lsof
3. Try to "get" an inexistant file a good number of times
4. See the number of file descriptors increase compared to 2.
Created attachment 121638 [details]
Thanks for hints above.
ftp does not close socket descriptor in other cases too.
I hope to cover all.
NOTE: 'passive off' helps for issue above.
Fixed in current release
ftp-0.17 Release 31
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.