Messages in this thread | | | From | Steven Micallef <> | Subject | File descriptors allocated | Date | Wed, 6 Aug 2003 15:13:17 +1000 |
| |
Hi all,
On the 2.4.20 kernel, looking at /proc/sys/fs/file-nr, as far as I know the three values (from left to right) represent file descriptors allocated, file descriptors free (from those allocated) and maximum file descriptors available.
My question is, should the first figure ever decrease? On a fairly loaded system, I've seen it go from 400 to 1700+ in a couple of days, and it just keeps getting higher and higher. The first value minus the second should tell me exactly how many are in use on my system, and this figure remains (fairly) consistent, so it's probably no big deal. I just figured that the kernel would "de-allocate" FDs after they weren't in use for a period of time.
Any ideas?
Thanks,
Steve Micallef - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |