Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165647
b: refs/heads/master
c: bcadbbd
h: refs/heads/master
i:
  165645: 79f4a60
  165643: 54ea090
  165639: 856accc
  165631: ac58b48
v: v3
  • Loading branch information
Xiaotian Feng authored and Linus Torvalds committed Sep 24, 2009
1 parent dd9c853 commit 243079f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16c01b20ae0572d5a1fe8059f1b4c09f79b73cbf
refs/heads/master: bcadbbd4c896c80c263c35ce94b763e5ff58cecd
17 changes: 10 additions & 7 deletions trunk/Documentation/sysctl/fs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 <number>
reached".
==============================================================

nr_open:
Expand Down

0 comments on commit 243079f

Please sign in to comment.