man-pages/man-pages-3.42-proc-file-nr.patch
Peter Schiffer 0446eb0439 - resolves: #889446
updated to 3.45
2012-12-21 15:51:26 +01:00

29 lines
1.4 KiB
Diff

diff -up man-pages-3.45/man5/proc.5.orig man-pages-3.45/man5/proc.5
--- man-pages-3.45/man5/proc.5.orig 2012-12-20 18:17:28.000000000 +0100
+++ man-pages-3.45/man5/proc.5 2012-12-21 15:27:18.562544354 +0100
@@ -2175,16 +2175,14 @@ can override the
limit.
.TP
.I /proc/sys/fs/file-nr
-This (read-only) file gives the number of files presently opened.
-It contains three numbers: the number of allocated file handles;
-the number of free file handles; and the maximum number of file handles.
-The kernel allocates file handles dynamically, but it
-doesn't free them again.
-If the number of allocated files is close to the
-maximum, you should consider increasing the maximum.
-When the number of free file handles is
-large, you've encountered a peak in your usage of file
-handles and you probably don't need to increase the maximum.
+Historically,the kernel was able to allocate file handles
+dynamically, but not to free them again. The three values in
+file-nr denote the number of allocated file handles, the number
+of allocated but unused file handles, and the maximum number of
+file handles. Linux 2.6 always reports 0 as the number of free
+file handles -- this is not an error, it just means that the
+number of allocated file handles exactly matches the number of
+used file handles.
.TP
.I /proc/sys/fs/inode-max
This file contains the maximum number of in-memory inodes.