SysOM EnhanceOOMCollector feature
The EnhanceOOMCollector feature monitors Pod memory usage to predict Out-of-Memory (OOM) events. It proactively collects memory data before an OOM event occurs, providing rich contextual information after the event. This data includes memory usage details for the system, the Pod, and the application.
Limitations
Region restrictions
This feature is available only in the Chinese mainland and Hong Kong (China) regions.
Operating system restrictions
|
Architecture |
Operating system |
|
x86 architecture |
|
|
ARM architecture |
|
Prerequisites
-
If you are a RAM user, ensure the Alibaba Cloud account (primary account) has granted your RAM user the
AliyunECSReadOnlyAccessandAliyunSysomFullAccesssystem policies. -
You must authorize the service when you log in to the Operating System Console for the first time.
How it works
Enabling EnhanceOOMCollector results in a minor persistent memory overhead of 10 MB to 30 MB.
|
Feature status |
Effect |
|
EnhanceOOMCollector enabled, Java memory collection disabled |
|
|
EnhanceOOMCollector enabled, Java memory collection enabled |
In addition to the preceding benefits, if a Java application is consuming a high amount of memory in the Pod, the feature collects memory information from the Java process before an OOM event occurs. The collected information is similar to the results from a Java Memory Diagnosis. |
|
EnhanceOOMCollector disabled |
|
SysOM component version 3.9.1-1 or later enables the lightweight enhanced OOM information collection feature by default.
Enable lightweight OOM collection
Follow the steps in Component Management to upgrade the SysOM component on the target instance to version 3.9.1-1 or later.
Enable enhanced OOM and Java memory collection
-
Go to the Operating System Console - Component Management page.
-
Install components for the target ECS instance.
-
Return to the Component Management page and click Details.
-
Click Create Configuration to enable the Java memory collection feature.
In the SysOM Component Configuration dialog box, set Configuration Name to
enable-java-mem-oom, select the Enable OOM enhanced diagnosis and Enable Java memory collection checkboxes. Click OK. -
In the left-side navigation pane, click System Management.
-
On the Managed tab, select the nodes where you want to apply the feature, and then click Change Component.
-
Select the SysOM component configuration that you created and click Submit.
Disable enhanced OOM collection
-
Go to the Operating System Console - Component Management page.
-
Install components for the target ECS instance.
-
Return to the Component Management page. On the Managed Components tab, find the SysOM component and click Details.
-
Click Create Configuration to disable the feature. In the SysOM Component Configuration dialog box, enter a Configuration Name such as
disable-java-mem-oom. In the Enhanced OOM diagnosis settings section, clear the Enable OOM enhanced diagnosis checkbox, and then click OK. -
In the left-side navigation pane, click System Management.
-
On the Managed tab, select the nodes where you want to apply the change, and click Change Component.
-
Select the SysOM component configuration that you created and click Submit.