ninode

ninode defines the maximum number of open inodes that can be in memory.

Acceptable Values:

Minimum
14
Maximum
Memory limited
Default
nproc+48+maxusers+(2*npty)

Specify integer value or use integer formula expression. For more information, see Specifying Parameter Values.

Description

ninode defines the number of slots in the inode table, and thus the maximum number of open inodes that can be in memory at any given time. The inode table is used as a cache memory. For efficiency reasons, the most recent Ninode (number of) open inodes is kept in main memory. The table is hashed.

Each unique open file has an open inode associated with it. Therefore, the larger the number of unique open files, the larger ninode should be.

Related Parameters

The default value of ninode is defined in terms of nproc, maxusers, and npty.

Additional Information

For an overview of parameters related to open and locked files, see configurable open- or locked-files parameters.

For an overview of all file-system kernel parameters, see Overview of file-system parameters