Help Center/ MapReduce Service/ User Guide/ Alarm Reference (Applicable to MRS 3.x)/ ALM-45338 Presto Worker4 Process GC Time Exceeds the Threshold
Updated on 2024-04-11 GMT+08:00

ALM-45338 Presto Worker4 Process GC Time Exceeds the Threshold

Alarm Description

The system collects the garbage collection (GC) time of the Presto worker4 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 of the worker4 process is less than or equal to the threshold.

Alarm Attributes

Alarm ID

Alarm Severity

Auto Cleared

45338

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 worker4 process is too long, the worker4 process performance will be adversely affected, and the worker4 process will even become unavailable.

Possible Causes

The heap memory of the worker4 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.
  2. 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 Worker4 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.

  3. 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 Worker4 > JVM, increase the value of Xmx in the JAVA_OPTS parameter, and click Save.
  4. Return to the Dashboard page, click More, and select Restart Service to restart the service.
  5. 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.
  2. Expand the Service drop-down list, and select Presto for the target cluster.
  3. 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.
  4. Contact O&M personnel and provide the collected logs.

Alarm Clearance

This alarm is automatically cleared after the fault is rectified.

Related Information

None