My Oracle Support Banner

How To Set The Limit For The Maximum Number Of Open Files Per Process In Solaris 10 And Solaris 11 (Doc ID 1408563.1)

Last updated on APRIL 17, 2024

Applies to:

Solaris Operating System - Version 10 and later
Information in this document applies to any platform.

Goal

The maximum limit of open files per process can be limited by setting a hard limit and/or a soft limit. The hard limit can be set by the system administrator and be decreased by any user, whereas the soft limit can be set by any user, up to the hard limit.
This document describes the various methods available in Solaris 10 and Solaris 11 for setting the limit for the maximum number of open files per process.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Types of limits
 The hard limit
 The soft limit
 Setting the limit
 Parameter rlim_fd_cur in /etc/system (no longer recommended beginning with Solaris 10)
 Resource control process.max-file-descriptor
 The shell's limit or ulimit builtin command
 Setting the soft limit
 Setting the hard limit
 The plimit command
 The setrctl or setrlimit system call
 Checking the limit
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.