Solaris Tunable Parameters Reference Manual

rpcmod:svc_default_stksize

Description

Sets the size of the kernel stack for kernel RPC service threads.

Data Type

Integer (32-bit)

Default

The default is 0, which means set the stack size to the system default.

Range

0 to 231 - 1

Units

Bytes

Dynamic?

The stack size is set when the thread is created. Therefore, changes to this parameter do not affect existing threads but are applied to all new threads that are allocated.

Validation

None

When to Change

Possibly, very deep call depths can cause the stack to overflow and cause red zone faults. The combination of a fairly deep call depth for the transport, coupled with a deep call depth for the local file system can cause NFS service threads to overflow their stacks.

Set this parameter to a multiple of the hardware pagesize on the platform.

Stability Level

Evolving