cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: ftp CURLE_FTP_PORT_FAILED after lots of downloads

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 5 Sep 2002 09:08:44 +0200 (MET DST)

On Wed, 4 Sep 2002, Cadime wrote:

> >What is the error message associated with this error?
> >CURLE_FTP_PORT_FAILED can be generated in quite a few places in the code
> >so if you could dig up the human-readable error message too, it would help
> >a lot.

> The error is " Too many open files".
> However, I am ensuring that I am fclose'ing every FILE* I fopen'ed.
> What about libcurl?

libcurl doesn't fopen() at all, but it uses file handles for sockets etc and
I guess this might concern one of those.

But I'm not aware of any leakage of file descriptors either. Can you add some
kind of check/trace on the file descriptor usage in libcurl? The MALLOCDEBUG
define enables such ones, logged to a file. And then there's the
tests/memanalyze.pl script that analyzed such a log dump.

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Received on 2002-09-05