Help Center/ MapReduce Service/ User Guide (Ankara Region)/ Alarm Reference/ ALM-45591 ConfigNode Direct Memory Usage Exceeds the Threshold
Updated on 2024-11-29 GMT+08:00

ALM-45591 ConfigNode Direct Memory Usage Exceeds the Threshold

Alarm Description

The system checks the direct memory usage of the ConfigNode process every 60 seconds. This alarm is generated when the direct memory usage of the ConfigNode exceeds the threshold for five consecutive times. That is, the direct memory configured for ConfigNode cannot meet service requirements. This alarm is cleared when the direct memory usage of ConfigNode is less than or equal to the threshold.

Alarm Attributes

Alarm ID

Alarm Severity

Alarm Type

Service Type

Auto Cleared

45591

Critical (default threshold: 100%)

Major (default threshold: 90%)

Quality of service

IoTDB

Yes

Alarm Parameters

Type

Name

Description

Location Information

Source

Specifies the cluster for which the alarm was generated.

ServiceName

Specifies the service for which the alarm was generated.

RoleName

Specifies the role for which the alarm was generated.

HostName

Specifies the host for which the alarm was generated.

Additional Information

Trigger Condition

Specifies the alarm triggering condition.

Impact on the System

Direct memory overflow may cause the IoTDB instance to be unavailable.

Possible Causes

The direct memory configured for the node is improper. As a result, the usage exceeds the threshold.

Handling Procedure

Check the direct memory configuration.

  1. Log in to FusionInsight Manager, choose O&M > Alarm > Alarms. In the real-time alarm list, click in front of this alarm and view the role name and instance IP address in Location.
  2. Choose Cluster > Services > IoTDB. Click Instance, click the ConfigNode corresponding to the IP address obtained in 1, and check whether ConfigNode Direct Memory Usage on the Dashboard tab page reaches the threshold specified for the ConfigNode process (90% of the maximum direct memory by default).

    If the chart is not displayed, click the drop-down list in the upper right corner of the chart area and choose Customize > Memory. In the dialog box that is displayed, select ConfigNode Direct Memory Usage and click OK.
    • If yes, go to 3.
    • If no, go to 5.

  3. On FusionInsight Manager, choose Cluster > Name of the desired cluster > Services > IoTDB. Click Configurations then All Configurations. Click ConfigNode and select System. Set -XX:MaxDirectMemorySize in GC_OPTS to a larger value as required and save the configuration.

    • You are advised to set -XX:MaxDirectMemorySize in GC_OPTS to twice the direct memory used by the ConfigNode process. (You can change the value based on the actual service scenario.)
    • To obtain the size of the direct memory used by the ConfigNode process, choose Customize > Memory > ConfigNode Direct Memory Resource Status.
    • If GC_OPTS does not contain the -XX:MaxDirectMemorySize parameter, add it.

  4. Restart the affected IoTDB service or instances and check whether the alarm is cleared.

    • If yes, no further action is required.
    • If no, go to 5.

Collect fault information.

  1. On FusionInsight Manager, choose O&M > Log > Download.
  2. Expand the Service drop-down list, and select ConfigNode for the destination cluster.
  3. 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.
  4. 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.
  5. Contact O&M engineers and provide the collected logs.

Alarm Clearance

This alarm is automatically cleared after the fault is rectified.

Related Information

None.