Solaris Tunable Parameters Reference Manual
Previous Next

STREAMS 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 write(2).

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 putmsg(2).

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(2) calls return ERANGE if they attempt to exceed this limit.

Commitment Level

Unstable

Previous Next