On Tue, Nov 04, 2003 at 08:09:21PM +1300, iftop@simhardware.co.nz wrote:
Hi Folks,
For several weeks I have been running FreeBSD 5.1 Release (was on 4.7 previously).
I am using the ports collection of iftop 0.14.
What am am finding that that after a day or two I have thousands of open files on the OS. If I exit iftop, that number drops back down to 200 or so, and after I start iftop again it starts climbing again at a rate of about 3 or 4 files per second.
I only noticed because after a week it is using all 7000 available file handles, and I get a kernel file table full errors, and everything stops.
Hmm. Which resolver is it using? Does strace show anything useful (try strace -eopen,socket iftop)? Can you use lsof or similar to identify files the process has open?