STREAMS-UX Programmer's Guide (February 2007)

STREAMS Kernel Tunable Parameters
NSTREVENT
Appendix H
298
NSTREVENT
The maximum number of outstanding STREAMS bufcalls.
Values
Failsafe
50
Default
50
Allowed
0 - 2147483647
Recommended
50
Description
This tunable limits the maximum number of outstanding bufcalls that are allowed to exist at any given time.
This tunable is intended to protect the system against resource overload caused by the combination of mod-
ules running in all streams issuing an excessive number of bufcalls. The value selected should be equal to or
greater than the combined maximum number of bufcalls that can be reasonably expected during normal oper-
ation from all streams. bufcalls are used by STREAMS modules in low memory situations.
Who is Expected to Change This Tunable?
Any customer.
Restrictions on Changing
Changes to this tunable take effect at the next reboot.
When Should the Value of This Tunable Be Raised?
When the customer needs to push more STREAMS modules in a single stream.
What are the Side Effects of Raising the Value of This Tunable?
Runaway applications may unduly consume system resources.
When Should the Value of This Tunable be Lowered?
There is no reason to lower the value below the default value.