From 243079fc31bd1035b64799e26a56cffeff8b77f1 Mon Sep 17 00:00:00 2001 From: Xiaotian Feng Date: Wed, 23 Sep 2009 15:56:13 -0700 Subject: [PATCH] --- yaml --- r: 165647 b: refs/heads/master c: bcadbbd4c896c80c263c35ce94b763e5ff58cecd h: refs/heads/master i: 165645: 79f4a60a337cf39811a50fa3f9e47984020cdb3c 165643: 54ea0904d5dc8cb64378aecb619b8b977df01910 165639: 856accce4c50e265e5fa0bd0f326f618e09a4c3f 165631: ac58b482f11a5aac31b81e30b2ef4bddd6bafe3d v: v3 --- [refs] | 2 +- trunk/Documentation/sysctl/fs.txt | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index 72753496ecf0..c0f5727088de 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 16c01b20ae0572d5a1fe8059f1b4c09f79b73cbf +refs/heads/master: bcadbbd4c896c80c263c35ce94b763e5ff58cecd diff --git a/trunk/Documentation/sysctl/fs.txt b/trunk/Documentation/sysctl/fs.txt index 1458448436cc..62682500878a 100644 --- a/trunk/Documentation/sysctl/fs.txt +++ b/trunk/Documentation/sysctl/fs.txt @@ -96,13 +96,16 @@ handles that the Linux kernel will allocate. When you get lots of error messages about running out of file handles, you might want to increase this limit. -The three values in file-nr denote the number of allocated -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 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. - +Historically, the three values in file-nr denoted 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. + +Attempts to allocate more file descriptors than file-max are +reported with printk, look for "VFS: file-max limit +reached". ============================================================== nr_open: