configure process group other memory-limit

configure process group other memory-limit memory_limit

Description

This command changes the memory limit for the "Other" (non-vital) process group.

Syntax Description

other Designates "Other" (non-vital) process group.
memory-limit Designates changing the memory limit for the "Other" process group.
memory-limit Sets the value, as a percentage, for the "Other" process group memory limit. The valid range is 5% to 50%; default is 5% of total system memory.

Default

Default memory limit for the "Other" group is 5% of total system memory. With the default configuration, the memory limit of the "Vital" group is 95%.

Usage Guidelines

This command allows you to increase or decrease the memory limit assigned to the “Other” (non-vital) process group. The configured limit is used as the new upper bound for the "Other" group. When this command is issued, the memory limit for the "Vital" group is changed as well. For example, if the current value is 95% for "software application", and 5% for “Other”, if you change the memory limit value to 30, the new values are: 70% for "Vital", and 30% for “Other”.

When you issue this command, a warning message appears:

Warning: Increasing memory-limit of the “Other” group will reduce the available memory for “EXOS”.

If you try to set a memory limit below the value that is already consumed by the "Other" group, an error message appears. For example, when you change the memory limit to 5% when it is already consuming 8.7%, the following error message appears.

Error: Desired memory-limit (5%) must be greater than or equal to the current memory consumption (8.7%) of the group “Other”.

You also cannot increase the memory limit on a process group beyond the available memory for the process group. For example, if you try increasing the memory limit on the “Other” (non-vital) group to 40% when the group is already consuming 70%, the following error message appears:

Error: Desired memory-limit (40%) must be less than or equal to the available memory of (30%) for the “Other” group. “EXOS” is currently consuming 70% of system memory.

To see the status of the process groups, use the command show process group.

Example

The following example sets the "other" process group memory limit to 25%. This also sets the memory limit to 75% for the "Vital" group:

# configure process group other memory-limit 25

History

This command was first available in ExtremeXOS 22.2.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.