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

ALM-12061 Process Usage Exceeds the Threshold

Alarm Description

The system checks the usage of the omm process every 30 seconds. Users can run the ps -o nlwp, pid, args, -u omm | awk '{sum+=$1} END {print "", sum}' command to obtain the number of concurrent processes of user omm. Run the ulimit -ucommand to obtain the maximum number of processes that can be simultaneously opened by user omm. Divide the number of concurrent processes by the maximum number to obtain the process usage of user omm. The process usage has a default threshold. This alarm is generated when the process usage exceeds the threshold.

If Trigger Count is 3 and the process usage is less than or equal to the threshold, this alarm is cleared. If Trigger Count is greater than 1and the process usage is less than or equal to 90% of the threshold, this alarm is cleared.

Alarm Attributes

Alarm ID

Alarm Severity

Alarm Type

Service Type

Auto Cleared

12061

Critical (default threshold: 95)

Major (default threshold: 90)

Quality of service

FusionInsight Manager

Yes

Alarm Parameters

Type

Parameter

Description

Location Information

Source

Specifies the cluster or system for which the alarm is generated.

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.

Additional Information

Detail

Specifies the details for which the alarm is generated.

Impact on the System

Service failure: When the process usage exceeds the threshold, you cannot switch to user omm. A new omm thread cannot be created. As a result, the job may fail to run.

Possible Causes

  • The alarm threshold is improperly configured.
  • The maximum number of processes (including threads) that can be concurrently opened by user omm is inappropriate.
  • An excessive number of threads are opened at the same time.

Handling Procedure

Check whether the alarm threshold or alarm hit number is properly configured.

  1. On the FusionInsight Manager, change the alarm threshold and Trigger Count based on the actual CPU usage.

    Specifically, choose O&M > Alarm > Thresholds > Name of the desired cluster > Host> Process > omm Process Usage to change Trigger Count.

    The alarm is generated when the process usage exceeds the threshold for the times specified by Trigger Count.

    Set the alarm threshold based on the actual process usage. To check the process usage, choose O&M > Alarm > Thresholds > Name of the desired cluster > Host> Process > omm Process Usage.

  2. 2 minutes later, check whether the alarm is cleared.

    • If it is, no further action is required.
    • If it is not, go to 3.

Check whether the maximum number of processes (including threads) opened by user omm is appropriate.

  1. In the alarm list on FusionInsight Manager, locate the row that contains the alarm, and view the IP address of the host for which the alarm is generated.
  2. Log in to the host where the alarm is generated as user root.
  3. Run the su - omm command to switch to user omm.
  4. Run the ulimit -u command to obtain the maximum number of threads that can be concurrently opened by user omm and check whether the number is greater than or equal to 60000.

    • If it is, go to 8.
    • If it is not, go to 7.

  5. Run the ulimit -u 60000 command to change the maximum number to 60000. Two minutes later, check whether the alarm is cleared.

    • If it is, no further action is required.
    • If it is not, go to 12.

Check whether an excessive number of processes are opened at the same time.

  1. In the alarm list on FusionInsight Manager, locate the row that contains the alarm, and view the IP address of the host for which the alarm is generated.
  2. Log in to the host where the alarm is generated as user root.
  3. Run the ps -o nlwp, pid, lwp, args, -u omm|sort -n command to check the numbers of threads used by the system. The result is sorted based on the thread number. Analyze the top 5 thread numbers and check whether the threads are incorrectly used. If they are, contact maintenance personnel to rectify the fault. If they are not, run the ulimit -u command to change the maximum number to be greater than 60000.
  4. Five minutes later, check whether the alarm is cleared.

    • If it is, no further action is required.
    • If it is not, go to 12.

Collect fault information.

  1. On the FusionInsight Manager home page of the active clusters, choose O&M > Log > Download.
  2. Select OmmServer and NodeAgent from the Service and click OK.
  3. Click the edit button in the upper right corner. In the displayed dialog box, set Start Date and End Date to 10 minutes before and after the alarm generation time respectively and click OK. Then, click Download.
  4. Contact the O&M engineers and send the collected log information.

Alarm Clearance

This alarm will be automatically cleared after the fault is rectified.

Related Information

None.