cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Problem with file descriptors?

From: Michael Mastroianni <MMastroianni_at_choicestream.com>
Date: Mon, 21 Feb 2005 17:08:00 -0500

Stupid question about lsof (sorry to bother you, but the man pages don't
help).
If I do lsof -U | wc -l
I get
805

If I do lsof | grep TCP | wc -l
I get
262288

If I do lsof -Tq | wc -l
I get
439231

Which number is correct.
As you said, your memory stuff isn't directly usable for me. I'll just
use valgrind.

Thanks again,
Michael

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Monday, February 21, 2005 12:33 PM
To: libcurl development
Subject: RE: Problem with file descriptors?

On Mon, 21 Feb 2005, Michael Mastroianni wrote:

> How would I use your built-in tools?

It might not be suitable for your case, but the instructions on how to
enable
it is here:

         http://curl.haxx.se/lxr/source/lib/README.memoryleak

-- 
      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