Problem with leaking file descriptors

Thomas Johnsson XA (LN/EAB) <>
Fri May 13 09:53:10 CEST 2005


Hi,
we have a problem where the erlang process is slowly consuming all the available file
descriptors (takes days). And there are many ways to open an fd: open file, tcp, dets/mnesia, open_port,... could of course try to trace relevant ops, like file:open, file:close, etc.
Are there any other better ideas out there on how to tackle this problem?

Ideally, one could wish for a file descriptor table inside otp, keeping track of
how/where fd's were opened...

Any hints / ideas on this would be much appreciated!

-- Thomas



More information about the erlang-questions mailing list