Help Center/ GaussDB(DWS)/ User Guide/ GaussDB(DWS) Cluster O&M/ Viewing GaussDB(DWS) Cluster Alarms/ Alarm Handling/ DWS_2000000028 Dynamic Memory Usage of a Node in a GaussDB(DWS) Cluster Exceeds the Threshold
Updated on 2024-10-21 GMT+08:00

DWS_2000000028 Dynamic Memory Usage of a Node in a GaussDB(DWS) Cluster Exceeds the Threshold

Alarm Description

GaussDB(DWS) collects the dynamic memory usage of each node in a cluster every 60 seconds. If a node's dynamic memory usage exceeds 90% (adjustable), an alarm is reported indicating that the threshold has been surpassed. The alarm will be cleared if the average memory usage falls below 85% (5% below the reporting threshold).

If the average dynamic memory usage of a node is always greater than the alarm threshold, the alarm is generated again 24 hours (configurable).

Attributes

Alarm ID

Alarm Category

Alarm Severity

Alarm Type

Service Type

Auto Cleared

DWS_2000000028

Management plane alarm

Urgent: > 90%

Operation alarm

GaussDB(DWS)

Yes

Alarm Parameters

Category

Name

Description

Location information

Name

Dynamic Memory Usage of a Cluster Node Exceeds the Threshold

Type

Operation alarm

Generation time

Time when the alarm is generated

Other information

Cluster ID

Cluster details such as resourceId and domain_id

Impact on the System

If the usage of dynamic memory remains high for an extended period, it can cause service processes to slow down or become inaccessible.

Possible Causes

  • Complex services occupy a large number of dynamic memory resources.
  • The dynamic memory of the cluster is too low to meet service requirements.

Handling Procedure

  1. Check the dynamic memory usage of instances on each node.

    1. Log in to the GaussDB(DWS) console.
    2. Choose Management > Alarms, select the cluster for which the alarm is generated in the cluster selection drop-down list in the upper right corner, view the alarm information of the cluster in the last seven days, and locate the name of the node for which the alarm is generated based on the location information.
    3. On the Clusters > Dedicated Clusters page, locate the row that contains the cluster for which the alarm is generated and click Monitoring Panel in the Operation column.
    4. Choose Monitoring > Performance > Monitoring View. On the displayed page, choose an instance to see its dynamic memory usage rate. Verify the information and click OK.
      Figure 1 Adding a monitoring view for dynamic memory usage
    5. You can view the dynamic memory usage of each instance in the current cluster at the page's bottom. In the upper left corner, you can check the dynamic memory usage of each instance in the last 1, 3, 12, 24 hours, or 7 days. This helps you detect any sudden increase in dynamic memory usage of any instance.
      Figure 2 Monitoring view for dynamic memory usage
      • If the dynamic memory usage frequently increases and then returns to normal in a short period of time, it indicates that the CPU usage temporarily spikes during service execution. In this case, you can adjust the alarm threshold to reduce the number of reported alarms.
      • If the dynamic memory usage remains high for a long time, the cluster is overloaded. In this case, check cluster services or improve cluster specifications. For details, see Changing the Node Flavor.

  2. Check whether the configuration of the dynamic memory usage alarm is proper.

    1. Choose Management > Alarms and click View Alarm Rule.
    2. Locate the row that contains rule Dynamic Memory Usage of a Cluster Node Exceeds the Threshold, and click Modify in the Operation column. The Modifying an Alarm Rule page is displayed.
    3. Adjust the alarm threshold and detection period. A higher alarm threshold and a longer detection period indicate a lower alarm sensitivity. For details about the GUI configuration, see Alarm Rules.

Clearing an Alarm

This alarm is automatically cleared when the memory usage of the instance decreases.