lkml.org 
[lkml]   [2003]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectFile descriptors allocated
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.025 / U:5.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site