cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with file descriptors?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 21 Feb 2005 17:48:01 +0100 (CET)

On Mon, 21 Feb 2005, Michael Mastroianni wrote:

> I think I'm probably running out of either sockets or file descriptors. I
> don't have a ton of linux experience (this problem doesn't happen to me on
> windows), and I was wondering if someone here could suggest approaches I
> should take to this problem.

You could use 'lsof' to check for used file handles. You should also check if
the size of the process libcurl is used in grows (in case of a memory leak).
We also have built-in memory leak tools and you can use valgrind or similar to
check for such.

What libcurl version are you using?

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-02-21