Memory Leak Detection Wizard (asg_memory_leak_detect)
Use asg_memory_leak_detect to detect memory leaks. This utility replaces the procedure in sk98387.
To start the Memory Leak Detection Wizard:
Run:
# asg_memory_leak_detect
+---------------------------------------------------+
| Memory Leak Detection Utility |
+---------------------------------------------------+
SGMs Currently Running Memory Leak Detection:
+--------------------------------------+
| Chassis | Security Gateway Modules |
|--------------------------------------|
| 1 | |
|--------------------------------------|
| 2 | |
+--------------------------------------+
Choose one of the following options:
------------------------------------
1) Start memory leak detection
2) Stop memory leak detection
3) Monitor memory leak detection
4) Exit
The wizard shows which Chassis and SGMs run Memory Leak Detection.
To start Memory Leak Detection:
|
Important - This process reboots the SGMs affected.
|
- In the Memory Leak Detection Wizard, press:
1 - Choose the Chassis.
|
Note - We recommend that you run Memory Leak Detection on the active Chassis.
|
- Choose the SGMs for Memory Leak Detection.
|
Note - You can run Memory Leak Detection on all active SGMs except the local SGM.
|
- Enter the time for Memory Leak Detection that starts an alert in days or hours. For example:
- To enter a time of 1 hour, type:
1 hour - To enter a time of 2 hours, type:
2 hours - To enter a time of 3 days, type:
3 days
|
Note - We recommend that you run Memory Leak Detection for as long as practical.
|
- Enter the percentage of memory used that starts an alert.
|
Important - The duration and percentage only start alerts. Memory Leak Detection continues past the duration and percentage of memory use. You must manually stop Memory Leak Detection.
|
- Confirm that you want to run Memory Leak Detection.
The SGMs reboot. The wizard returns to the main screen.
To stop Memory Leak Detection:
|
Important - This process reboots the SGMs affected.
|
- In the Memory Leak Detection Wizard, press
2 . - Choose the Chassis.
- Choose the SGMs to stop Memory Leak Detection.
If the SGMs are on the Active Chassis in a Dual Chassis environment, the wizard suggests that you fail over to the Standby Chassis.
- Confirm that you want to stop Memory Leak Detection.
The SGMs reboot. The wizard returns to the main screen.
To monitor Memory Leak Detection:
In the Memory Leak Detection Wizard, press 3 .
+----------------------------------------------------------+
| Memory Leak Detection Status |
+------+----------------------+----------------------------+
|SGM ID| Time | Memory Usage |
+------+----------------------+----------------------------+
| | Duration | Threshold | Current | Peak | Threshold |
+------+----------------------+----------------------------+
| 1_2 | 0 hours | 2 hours | 36% | 36% | 70% |
+------+----------+-----------+---------+------+-----------+
Press enter to return to the main menu
The memory Leak Detection Wizard shows this information:
- - ID of the SGM running Memory Leak Detection
- - Amount of time Memory Leak Detection ran
- - Amount of time Memory Leak Detection runs before it triggers alerts
- - Percentage of memory used on the SGM
- - Highest percentage of memory used on the SGM
- - Percentage of memory used before Memory Leak Detection triggers alerts
|