Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > m

maxfiles_lim(5)

Tunable Kernel Parameters
HP-UX 11i Version 1.6: June 2002
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

maxfiles_lim — hard limit for the number of files that a process is allowed to have open simultaneously

VALUES

Minimum

30

Maximum

nfile

Default

1024 Specify an integer value.

DESCRIPTION

maxfiles_lim specifies the system default hard limit for the number of open files a process may have. It is possible for a nonsuperuser process to increase its soft limit, maxfiles, up to this hard limit.

maxfiles_lim can be set by rebuilding the kernel, or can be set in the running kernel with settune(). The System Administration Manager (sam) and kmtune use settune(). Dynamic changes affect all existing processes in the system except:

  • Processes that are already over the new limit;

  • Processes that have specifically set their limits through a call to setrlimit() or ulimit().

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.

WARNINGS

All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX.

AUTHOR

maxfile_lim was developed by HP.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2002 Hewlett-Packard Development Company, L.P.