• MapReduce Service

mrs
  1. Help Center
  2. MapReduce Service
  3. User Guide
  4. MRS Manager Operation Guide
  5. Alarm Reference
  6. ALM-38002 Heap Memory Usage of Kafka Exceeds the Threshold

ALM-38002 Heap Memory Usage of Kafka Exceeds the Threshold

Description

The system checks the heap memory usage of Kafka every 30 seconds. This alarm is generated when the heap memory usage of Kafka exceeds the threshold (80%).

This alarm is cleared when the heap memory usage is lower than the threshold.

Attribute

Alarm ID

Alarm Severity

Automatically Cleared

38002

Major

Yes

Parameters

Parameter

Description

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.

Trigger Condition

Generates an alarm when the actual indicator value exceeds the specified threshold.

Impact on the System

Memory overflow may occur, causing service crashes.

Possible Causes

The heap memory usage is high or the heap memory is improperly allocated.

Procedure

  1. Check the heap memory usage.

    1. On MRS Manager, choose Alarm> ALM-38002 Heap Memory Usage of Kafka Exceeds the Threshold > Location. Query the IP address of the alarmed instance.
    2. On MRS Manager, choose Service > Kafka > Instance > Broker (corresponding to the IP address of the alarmed instance) > Customize > Kafka Heap Memory Resource Percentage.
    3. Check whether the heap memory usage of Kafka has reached the threshold (80%).
    4. On MRS Manager, choose Service > Kafka > Service Configuration > All > Broker > Environment. Increase the value of KAFKA_HEAP_OPTS as required.
    5. Check whether the alarm is cleared.
      • If yes, no further action is required.
      • If no, go to Step 2.

  2. Collect fault information.

    1. On MRS Manager, choose System > Export Log.
    2. Contact technical support engineers for help, detail see technical support.

Related Information

N/A