ALM-43011 Non-Heap Memory Usage of the JDBCServer Process Exceeds the Threshold
Alarm Description
The system checks the non-heap memory usage of the JDBCServer process every 30 seconds.
A major alarm is reported when the usage is greater than 85% and less than 95% of the maximum memory. A critical alarm is reported when the usage is greater than 95% of the maximum memory.
Alarm Attributes
Alarm ID |
Alarm Severity |
Alarm Type |
Service Type |
Auto Cleared |
---|---|---|---|---|
43011 |
Major (default threshold: 85% of the maximum memory) Critical (default threshold: 95% of the maximum memory.) |
Quality of service |
Spark |
Yes |
Alarm Parameters
Type |
Parameter |
Description |
---|---|---|
Location Information |
Source |
Specifies the cluster 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 non-heap memory usage of the JDBCServer process is too high, the performance deteriorates, and even memory overflow occurs. As a result, the JDBCServer process is unavailable, and Spark JDBC tasks are slow or fail to run.
Possible Causes
The non-heap memory of the JDBCServer process is overused or the non-heap memory is inappropriately allocated.
Handling Procedure
Check non-heap memory usage.
- On FusionInsight Manager, choose O&M > Alarm > Alarms and select the alarm whose ID is 43011. Check the role name and the IP address of the host where the alarm is generated in Location.
- On FusionInsight Manager, choose Cluster > Name of the desired cluster > Services > Spark > Instance. Click the JDBCServer that reported the alarm to go to the Dashboard page. Click the drop-down list in the upper right corner of the chart area, and choose Customize > JDBCServer Memory Usage Statistics > OK. Check whether the non-heap memory used by the process reaches the maximum non-heap memory threshold (95% by default).
- On FusionInsight Manager, choose Cluster > Name of the desired cluster > Services > Spark > Instance. Click the JDBCServer that reported the alarm to go to the Dashboard page. Click the drop-down list in the upper right corner of the chart area, and choose Customize > Statistics for the non-heap memory of the JDBCServer process > OK. Based on the alarm generation time, check the values of the used non-heap memory of the process in the corresponding period and obtain the maximum value.
- On FusionInsight Manager, choose Cluster > Name of the desired cluster > Services > Spark > Configurations > All Configurations > JDBCServer > Performance. You can change the value of XX:MaxMetaspaceSize in the spark.driver.extraJavaOptions parameter based on the ratio of the maximum non-heap memory used by the JDBCServer process to the threshold specified by JDBCServerNon-Heap Memory Usage Statistics (JDBCServer) in the alarm period.
On FusionInsight Manager, you can choose O&M > Alarm > Thresholds > Name of the desired cluster > Spark > Memory > JDBCServer Non-Heap Memory Usage Statistics (JDBCServer) to view the threshold.
- Restart all JDBCServer instances.
- Check whether the alarm is cleared 10 minutes later.
- If yes, no further action is required.
- If the threshold is not reached, 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 Spark for the target cluster.
- Click 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 engineers 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