Help Center/ MapReduce Service/ User Guide/ MRS Cluster O&M/ MRS Cluster Alarm Handling Reference/ ALM-45328 Presto Worker Process GC Time Exceeds the Threshold
Updated on 2024-09-23 GMT+08:00

ALM-45328 Presto Worker Process GC Time Exceeds the Threshold

Alarm Description

The system collects the garbage collection (GC) time of the Presto worker process every 30 seconds. This alarm is generated when the GC time exceeds the threshold (exceeds 5 seconds for three consecutive times). This alarm is cleared when the GC time is less than or equal to the alarm threshold.

Alarm Attributes

Alarm ID

Alarm Severity

Auto Cleared

45328

Minor

Yes

Alarm Parameters

Parameter

Description

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.

Trigger Condition

Specifies the threshold for triggering the alarm.

Impact on the System

If the GC time of the worker process is too long, the worker process performance will be adversely affected, and the worker process will even become unavailable.

Possible Causes

The heap memory of the worker process is overused or inappropriately allocated, causing frequent occurrence of the GC process.

Handling Procedure

Check the GC duration.

  1. Log in to FusionInsight Manager and choose O&M > Alarm > Alarms. Locate the row that contains this alarm and view the IP address and role name of the instance in Location.
  1. On FusionInsight Manager, choose Cluster, click the name of the desired cluster, and choose Services > Presto. On the page that is displayed, click the Instance tab and click the Worker instance for which the alarm is generated to access its dashboard. In the upper right corner of the Dashboard page, click the drop-down list icon and select Customize. On the Customize Statistics page, choose Cluster Status, select Presto Garbage Collection Time, and click OK to check whether the GC time is greater than 5 seconds.

    • If yes, go to 3.
    • If no, go to 6.

  2. On FusionInsight Manager, choose Cluster, click the name of the desired cluster, and choose Services > Presto. On the page that is displayed, click Configurations and All Configurations, choose Worker > JVM, increase the value of Xmx in the JAVA_OPTS parameter, and click Save.
  3. Return to the Dashboard page, click More, and select Restart Service to restart the service.
  4. Check whether the alarm is cleared.

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

Collect fault information.

  1. On FusionInsight Manager, choose O&M. In the navigation pane on the left, choose Log > Download.
  1. Expand the Service drop-down list, select Presto for the target cluster, and click OK.
  2. 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.
  3. Contact O&M personnel and provide the collected logs.

Alarm Clearance

This alarm is automatically cleared after the fault is rectified.

Related Information

None