diff options
Diffstat (limited to 'Documentation/sysctl/fs.txt')
| -rw-r--r-- | Documentation/sysctl/fs.txt | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Documentation/sysctl/fs.txt b/Documentation/sysctl/fs.txt index 62682500878a..4af0614147ef 100644 --- a/Documentation/sysctl/fs.txt +++ b/Documentation/sysctl/fs.txt | |||
| @@ -88,20 +88,19 @@ you might want to raise the limit. | |||
| 88 | 88 | ||
| 89 | file-max & file-nr: | 89 | file-max & file-nr: |
| 90 | 90 | ||
| 91 | The kernel allocates file handles dynamically, but as yet it | ||
| 92 | doesn't free them again. | ||
| 93 | |||
| 94 | The value in file-max denotes the maximum number of file- | 91 | The value in file-max denotes the maximum number of file- |
| 95 | handles that the Linux kernel will allocate. When you get lots | 92 | handles that the Linux kernel will allocate. When you get lots |
| 96 | of error messages about running out of file handles, you might | 93 | of error messages about running out of file handles, you might |
| 97 | want to increase this limit. | 94 | want to increase this limit. |
| 98 | 95 | ||
| 99 | Historically, the three values in file-nr denoted the number of | 96 | Historically,the kernel was able to allocate file handles |
| 100 | allocated file handles, the number of allocated but unused file | 97 | dynamically, but not to free them again. The three values in |
| 101 | handles, and the maximum number of file handles. Linux 2.6 always | 98 | file-nr denote the number of allocated file handles, the number |
| 102 | reports 0 as the number of free file handles -- this is not an | 99 | of allocated but unused file handles, and the maximum number of |
| 103 | error, it just means that the number of allocated file handles | 100 | file handles. Linux 2.6 always reports 0 as the number of free |
| 104 | exactly matches the number of used file handles. | 101 | file handles -- this is not an error, it just means that the |
| 102 | number of allocated file handles exactly matches the number of | ||
| 103 | used file handles. | ||
| 105 | 104 | ||
| 106 | Attempts to allocate more file descriptors than file-max are | 105 | Attempts to allocate more file descriptors than file-max are |
| 107 | reported with printk, look for "VFS: file-max limit <number> | 106 | reported with printk, look for "VFS: file-max limit <number> |
