ALM-33009 Containers Heap Memory Usage Exceeds the Threshold
Alarm Description
The system checks the heap memory usage of WebContainer instances every 30 seconds. This alarm is generated when the heap memory usage of a WebContainer instance exceeds the threshold (95%).
This alarm is automatically cleared when the heap memory usage is less than or equal to the threshold.
Alarm Attributes
Alarm ID |
Alarm Severity |
Alarm Type |
Service Type |
Auto Cleared |
---|---|---|---|---|
33009 |
Minor |
Environment |
Containers |
Yes |
Alarm Parameters
Type |
Parameter |
Description |
---|---|---|
Location Information |
Source |
Specifies the cluster or system for which the alarm is generated. |
ServiceName |
Specifies the service for which the alarm is generated. |
|
RoleName |
Specifies the role for which the alarm is generated. |
|
HostName |
Specifies the host for which the alarm is generated. |
|
Additional Information |
Trigger Condition |
Specifies the alarm triggering condition. |
Impact on the System
If the heap memory of Containers is insufficient, memory overflow may occur. As a result, the container instance and the BLU deployed in the container are abnormal, and the alarm "The health status of the BLU instance of the Containers service is abnormal" is reported. This alarm is generated when some BLU instances of a BLU role are unhealthy. Service functions are not affected, but the service processing of the BLU may become slow. If all BLU instances of the BLU role are unhealthy, the service corresponding to the BLU cannot provide services.
Possible Causes
- The alarm threshold or alarm trigger count is improperly configured.
- The WebContainer heap memory is insufficient.
Handling Procedure
Check whether the alarm threshold or alarm trigger count is properly configured.
- On FusionInsight Manager, choose O&M > Alarm > Alarms, click in the row that contains the alarm, and view the host name and role of the instance for which the alarm is generated in Location.
- Choose O&M > Alarm > Thresholds. On the Thresholds page, click the name of the desired cluster, choose Containers > Other > Heap Mem Usage (WebContainer_N), and check whether the trigger count and alarm threshold are set properly for the role for which the alarm is generated.
- Change the trigger count and alarm threshold based on the actual heap memory usage, and apply the changes.
- Wait 2 minutes and check whether the alarm is cleared.
- If yes, no further action is required.
- If no, go to 5.
Check the heap memory usage of the WebContainer.
- Choose Cluster > Services > Containers > Configurations > All Configurations, choose WebContainer_N(Role) > Default of the role for which the alarm is generated, increase the value of GC_OPTS as required, click Save. Then click OK and restart the Containers service.
Change the values of -Xms and -Xmx to twice the current heap memory usage (or adjust the values based on site requirements). The values cannot exceed the remaining memory of the node.
- Check whether the alarm is cleared.
- If yes, no further action is required.
- If no, go to 7.
Collect fault information.
- On FusionInsight Manager, choose O&M. In the navigation pane on the left, choose Log > Download.
- Expand the Service drop-down list and select Containers.
- Expand the Hosts drop-down list. In the Select Host dialog box that is displayed, select the hosts to which the role belongs, and click OK.
- Click the edit icon in the upper right corner, and set Start Date and End Date for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click Download.
- Contact O&M personnel and provide the collected logs.
Alarm Clearance
This alarm is automatically cleared after the fault is rectified.
Related Information
None.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot