Solaris Tunable Parameters Reference Manual

TMPFS

tmpfs:tmpfs_maxkmem

Description

Maximum amount of kernel memory that TMPFS can use for its data structures (tmpnodes and directory entries).

Data Type

Unsigned long

Default

One page or 4% of physical memory, whichever is greater.

Range

Number of bytes in one page (8192 for UltraSPARCTM systems, 4096 for all others) to 25% of the available kernel memory at the time TMPFS was first used.

Units

Bytes

Dynamic?

Yes

Validation

None

When to Change

Increase if the following message is displayed on the console or written in the messages file.


tmp_memalloc: tmpfs over memory limit

The current amount of memory used by TMPFS for its data structures is held in the tmp_kmemspace field, which can be examined with a kernel debugger.

Commitment Level

Unstable

tmpfs:tmpfs_minfree

Description

Minimum amount of swap space that TMPFS leaves for the rest of the system.

Data Type

Signed long

Default

256

Range

0 to maximum swap space size

Units

Pages

Dynamic?

Yes

Validation

None

When to Change

To maintain a reasonable amount of swap space on systems with large amounts of TMPFS usage, you can increase this number. The limit has been reached when the console or system messages file displays the following message.


fs-name: File system full, swap space limit exceeded
Commitment Level

Unstable

Changes From Previous Release

For information, see tmpfs:tmpfs_minfree.