nstrpty nstrpty defines the maximum number of streams-based PTYs
allowed on the system.
0
0
Specify integer value. For more information, see Specifying Parameter Values.
nstrpty limits the number of streams-based PTYs that are
allowed system-wide. When sending data to PTY devices (such as
windows), a PTY device must exist for every window that is open at any
given time.
nstrpty should be set to a value that is equal to or
greater than the number of PTY devices on the system that will be using
streams-based I/O pipes. Using a parameter value significantly larger
than the number of PTYs is not recommended. nstrpty is
used when creating data structures in the kernel to support those
streams-based PTYs, and an excessively large value wastes kernel memory
space.