9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] acid tools for tracking leaking fd's
@ 2010-02-08 22:14 Lyndon Nerenberg (VE6BBM/VE7TFX)
  2010-02-09  0:55 ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Lyndon Nerenberg (VE6BBM/VE7TFX) @ 2010-02-08 22:14 UTC (permalink / raw)
  To: 9fans

Has anyone cooked up some acid to track leaking file descriptors
(ala leak for memory)?

--lyndon




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] acid tools for tracking leaking fd's
  2010-02-08 22:14 [9fans] acid tools for tracking leaking fd's Lyndon Nerenberg (VE6BBM/VE7TFX)
@ 2010-02-09  0:55 ` Russ Cox
  2010-02-09  1:04   ` Lyndon Nerenberg (VE6BBM/VE7TFX)
  0 siblings, 1 reply; 4+ messages in thread
From: Russ Cox @ 2010-02-09  0:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Mon, Feb 8, 2010 at 2:14 PM, Lyndon Nerenberg (VE6BBM/VE7TFX)
<lyndon@orthanc.ca> wrote:
> Has anyone cooked up some acid to track leaking file descriptors
> (ala leak for memory)?

cat /proc/$pid/fd

Russ


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] acid tools for tracking leaking fd's
  2010-02-09  0:55 ` Russ Cox
@ 2010-02-09  1:04   ` Lyndon Nerenberg (VE6BBM/VE7TFX)
  2010-02-09  1:24     ` Federico G. Benavento
  0 siblings, 1 reply; 4+ messages in thread
From: Lyndon Nerenberg (VE6BBM/VE7TFX) @ 2010-02-09  1:04 UTC (permalink / raw)
  To: 9fans

> cat /proc/$pid/fd

I already know the bloody thing is open :-P

I just wondered if someone had come up with some glue to intercept
open()/close()/dup()/etc and track the fd's in an acid list, or
something similar.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] acid tools for tracking leaking fd's
  2010-02-09  1:04   ` Lyndon Nerenberg (VE6BBM/VE7TFX)
@ 2010-02-09  1:24     ` Federico G. Benavento
  0 siblings, 0 replies; 4+ messages in thread
From: Federico G. Benavento @ 2010-02-09  1:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

setfdtag(getcallerpc(&s))?

On Mon, Feb 8, 2010 at 11:04 PM, Lyndon Nerenberg (VE6BBM/VE7TFX)
<lyndon@orthanc.ca> wrote:
>> cat /proc/$pid/fd
>
> I already know the bloody thing is open :-P
>
> I just wondered if someone had come up with some glue to intercept
> open()/close()/dup()/etc and track the fd's in an acid list, or
> something similar.
>
>
>



--
Federico G. Benavento



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-09  1:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-08 22:14 [9fans] acid tools for tracking leaking fd's Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-02-09  0:55 ` Russ Cox
2010-02-09  1:04   ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-02-09  1:24     ` Federico G. Benavento

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).