Go to main content

Oracle® Solaris 11.3 Tunable Parameters Reference Manual

Exit Print View

Updated: July 2017
 
 

STREAMS Parameters

This section describes STREAMS-related parameters.

nstrpush

Description

Specifies the number of modules that can be inserted into (pushed onto) a STREAM.

Data Type

Signed integer

Default

9

Range

9 to 16

Units

Modules

Dynamic?

Yes

Validation

None

When to Change

At the direction of your software vendor. No messages are displayed when a STREAM exceeds its permitted push count. A value of EINVAL is returned to the program that attempted the push.

Commitment Level

Unstable

strmsgsz

Description

Specifies the maximum number of bytes that a single system call can pass to a STREAM to be placed in the data part of a message. Any write exceeding this size is broken into multiple messages. For more information, see the write(2) man page.

Data Type

Signed integer

Default

65,536

Range

0 to 262,144

Units

Bytes

Dynamic?

Yes

Validation

None

When to Change

When putmsg calls return ERANGE. For more information, see the putmsg(2) man page.

Commitment Level

Unstable

strctlsz

Description

Specifies the maximum number of bytes that a single system call can pass to a STREAM to be placed in the control part of a message

Data Type

Signed integer

Default

1024

Range

0 to MAXINT

Units

Bytes

Dynamic?

Yes

Validation

None

When to Change

At the direction of your software vendor. putmsg()calls return ERANGE if they attempt to exceed this limit.

Commitment Level

Unstable