maxfiles

maxfiles sets the soft limit for the number of files a process is allowed to have open simultaneously.

Acceptable Values:

Minimum
30
Maximum
60000
Default
60

Specify integer value. For more information, see Specifying Parameter Values.

Description

maxfiles specifies the system default soft limit for the number of files a process is allowed to have open at any given time. It is possible for a process to increase its soft limit and therefore open more than maxfiles files.

Non-superuser processes can increase their soft limit until they reach the hard limit ( maxfiles_lim).

Related Parameters

To be useful, the value assigned to maxfiles must be less than the value of maxfiles_lim. maxfiles_lim is useful only if it does not exceed the limits imposed by nfile and ninode.

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 .