IBM Support

Stream Threshold Network Tunable Parameter

Question & Answer


Question

I am not able to login to my AIX box with non-root users using telnet/ssh, I keep receiving the following: error: /dev/pts/X: Out of STREAMS resources.

Cause

The stream threshold tunable parameter has reached its maximum value

Answer

The error appears describes the amount of mbuf memory used for streams resources,
This is controlled by strthresh network tunable parameter in which it disallows users
Without the appropriate privilege to open Streams, push modules, or write to Stream devices.

The default value for the strthresh tunable is 85%. The strthresh tunable specifies that once
The total amount of allocated memory reaches 85% of the thewall tunable value, no more memory
Goes to streams resources, which means the return value of the streams call is ENOSR, to open streams,
Push modules or write to streams devices.

- We can see the current value:
# no -L strthresh
--------------------------------------------------------------------------------
NAME CUR DEF BOOT MIN MAX UNIT TYPE
DEPENDENCIES
--------------------------------------------------------------------------------
strthresh 85 85 85 0 100 %_of_thewall D
--------------------------------------------------------------------------------

# no -a | grep strthresh
strthresh = 85


- We can set a new value:
# no -o strthresh=90
Setting strthresh to 90

# no -L strthresh
--------------------------------------------------------------------------------
NAME CUR DEF BOOT MIN MAX UNIT TYPE
DEPENDENCIES
--------------------------------------------------------------------------------
strthresh 90 85 85 0 100 %_of_thewall D
--------------------------------------------------------------------------------

# no -a | grep strthresh
strthresh = 90



Thank you very much for taking the time to read through this.
I hope it has been helpful and easy. If you feel you have found any inconsistencies,
Please don’t hesitate to email me at ahdmashr@eg.ibm.com

Ahmed Mashhour

[{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"}],"Version":"5.3;6.1;7.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

More support for:
AIX

Software version:
5.3, 6.1, 7.1

Operating system(s):
AIX

Document number:
630491

Modified date:
17 June 2018

UID

isg3T1024799

Manage My Notification Subscriptions