Commit 93c5435c authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] Updated proc docs from 2.4

parent cb939c04
...@@ -728,36 +728,26 @@ allocated file handles come close to the maximum, but the number of actually ...@@ -728,36 +728,26 @@ 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 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. handles and you don't need to increase the maximum.
inode-state, inode-nr and inode-max inode-state and inode-nr
----------------------------------- ------------------------
As with file handles, the kernel allocates the inode structures dynamically,
but can't free them yet.
The value in inode-max denotes the maximum number of inode handlers. This
value should be 3 to 4 times larger than the value in file-max, since stdin,
stdout, and network sockets also need an inode struct to handle them. If you
regularly run out of inodes, you should increase this value.
The file inode-nr contains the first two items from inode-state, so we'll skip The file inode-nr contains the first two items from inode-state, so we'll skip
to that file... to that file...
inode-state contains three actual numbers and four dummy values. The numbers inode-state contains two actual numbers and five dummy values. The numbers
are nr_inodes, nr_free_inodes, and preshrink (in order of appearance). are nr_inodes and nr_free_inodes (in order of appearance).
nr_inodes nr_inodes
~~~~~~~~~ ~~~~~~~~~
Denotes the number of inodes the system has allocated. This can be slightly Denotes the number of inodes the system has allocated. This number will
more than inode-max because Linux allocates them one pageful at a time. grow and shrink dynamically.
nr_free_inodes nr_free_inodes
-------------- --------------
Represents the number of free inodes and preshrink is nonzero when nr_inodes Represents the number of free inodes. Ie. The number of inuse inodes is
is greater than inode-max and the system needs to prune the inode list instead (nr_inodes - nr_free_inodes).
of allocating more.
super-nr and super-max super-nr and super-max
---------------------- ----------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment