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 > n

nfile(5)

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

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

nfile — set maximum number of files that can be open simultaneously on the system at any given time

VALUES

Minimum

14

Maximum

Memory limited

Default

((16*(4200+16+maxusers)/10)+32+2*(npty+nstrpty+nstrtel)

Specify an integer value or use an integer formula expression.

DESCRIPTION

nfile defines the maximum number of files that can be open at any one time, system-wide. It is the number of slots in the file descriptor table.

Be generous with this number because the required memory is minimal, and not having enough slots restricts system processing capacity.

Related Parameters and System Factors

The value used for nfile must be sufficient to serve the number of users and processes allowed by the combination of nproc, maxusers, npty, and nstrpty.

Every process uses at least three file descriptors per process (standard input, standard output, and standard error).

Every process has two pipes per process (one per side), each of which requires a pty. Stream pipes also use streams ptys which are limited by nstrpty.

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

nfile 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.