lkml.org 
[lkml]   [2002]   [Dec]   [14]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateSat, 14 Dec 2002 15:02:53 +0000 (GMT)
FromPaul Jakma <>
Subject[patch] Docs: fix explanation of file-nr
Hi,

Documentation/sysctl/fs.txt is incorrect wrt to the middle number of 
/proc/sys/fs/file-nr. The current docs state it is the number of 
in-use file-handles, from observation this number is actually the 
number of /unused/ file-handles - we've observe that when it hits 0 we 
get file handle problems (rather than when it hits == file-max as docs 
imply). Patch:

--- Documentation/sysctl/fs.txt~	Sat Dec 14 14:58:03 2002
+++ Documentation/sysctl/fs.txt	Sat Dec 14 14:58:03 2002
@@ -82,11 +82,11 @@
 want to increase this limit.
 
 The three values in file-nr denote the number of allocated
-file handles, the number of used file handles and the maximum
+file handles, the number of unused file handles and the maximum
 number of file handles. When the allocated file handles come
-close to the maximum, but the number of actually used ones is
-far behind, you've encountered a peak in your usage of file
-handles and you don't need to increase the maximum.
+close to the maximum, but the number of unused file handles is
+significantly greater than 0, you've encountered a peak in your 
+usage of file handles and you don't need to increase the maximum.
 
 ==============================================================
 
regards,
-- 
Paul Jakma	Sys Admin	Alphyra
	paulj@alphyra.ie
Warning: /never/ send email to spam@dishone.st or trap@dishone.st

-
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 11:31    [from the cache]
©2003-2008