please help me to understand regarding file descriptor leaks.. How to detect the file descriptor leak.. I tried with LSOF command. it shows list of opened files.. But i could nt able to identify whether LSOF list the Leaked File descriptors also.. I want to know what the kernel does when it detects file descriptor leaks... Please help in this regards
FD's are closed when the owning process exits. If you can lsof them, you know to which process they belong. Could you post a part of the lsof output with some entries you think are the problem? Paul