Re: [PATCH] Sysctl:Cleanup file-nr section in fs.txt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 09 Mar 2011 17:39:17 +0100 Federica Teodori wrote:

> Since file handles are freed, a little amendment to the documentation
> 
> Signed-off-by: Federica Teodori <federica.teodori@xxxxxxxxxxxxxx>

applied with Rik's Ack.  Thanks.

> ---
>  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 6268250..a1bb861 100644
> --- a/Documentation/sysctl/fs.txt
> +++ b/Documentation/sysctl/fs.txt
> @@ -88,20 +88,19 @@ you might want to raise the limit.
>  
>  file-max & file-nr:
>  
> -The kernel allocates file handles dynamically, but as yet it
> -doesn't free them again.
> -
>  The value in file-max denotes the maximum number of file-
>  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.
>  
> -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.
> +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.
>  
>  Attempts to allocate more file descriptors than file-max are
>  reported with printk, look for "VFS: file-max limit <number>
> -- 

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux