Operating System - HP-UX
1846706 Members
3951 Online
110256 Solutions
New Discussion

STRMSGSZ kernel parameter

 
Timo Ruiter
Advisor

STRMSGSZ kernel parameter

Hi all,

Can anybody tell me in what way the system will behave differently when I set the value of STRMSGSZ to 4096 instead of the default value of 0?

Thanks,
Timo
Confucius say: he who runs through forrest in straight line will hit tree
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: STRMSGSZ kernel parameter

Hi:

STRMSGSZ when set to zero means that no limit to the number of data bytes in a streams message. Setting the value to 4096 would mean that messages could be segmented and therefore network performance possibly degraded.

Unless you have a compelling desire to change this value, I'd leave it set to its default which is zero.

Regards!

...JRF...
Sajid_1
Honored Contributor

Re: STRMSGSZ kernel parameter

Normally the default '0' value indicates 'no limit'. That parameter value can go up to any level without limitation. But when you set a specific value say 4096 to the parameter, then you are limiting it to 4096.

Read more about STRMSGSZ here:
http://www.docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/939/KCParms/KCparam.StrMsgSz.html&searchterms=strmsgsz&queryid=20020903-085506
learn unix ..
S.K. Chan
Honored Contributor

Re: STRMSGSZ kernel parameter

From my experience, I've had the ncs broker daemon failed on me. The error message was not apparent but I realized by changing STRMSGSZ back to 0, the problem was resolved. Behavior of the system will not change but you'll see some "side-effects" especially on processes/daemons which depend on the kernel parameter for them to work properly.