Configuring Swap Rate on Zenconsole
Zenarmor's Health Check functionality monitors the system's swap utilization through hourly checks to help ensure the stable and secure operation of the packet engine.
If the system's swap utilization exceeds the configured threshold, the Zenarmor packet engine is stopped, and an error message is displayed.
By default, swap utilization of up to 60% of the total system swap space is considered safe for Zenarmor operation. You can adjust this threshold through the Health settings of the selected gateway on Zenconsole.
Configuring the Swap Rate
To configure the swap rate for a gateway, follow the steps below:
-
Log in to your Zenconsole account.
-
Navigate to Settings → Gateway Settings from the left-hand navigation menu.
-
Select the gateway you want to configure.
-
Click Health in the gateway settings menu.
-
Locate the Swap Rate section.
-
Adjust the Swap Rate slider to configure the maximum allowed swap utilization as a percentage of the total system swap space. The selected percentage is displayed below the slider.
Figure 1. Configuring the Swap Rate (Health) on Zenconsole
When the system's swap utilization reaches the configured threshold, the Zenarmor packet engine will be stopped.
The swap utilization percentage refers to the overall system swap usage, not just the swap used by Zenarmor. High swap utilization may also result from other memory-intensive applications running on the system.
To identify processes consuming resident memory, run the following command on your firewall:
top -ao res