ALM-12028 Number of Processes in the D State and Z State on a Host Exceeds the Threshold
Alarm Description
The system checks the number of processes in the D state and Z state of user omm on the host every 30 seconds and compares the actual number with the threshold. The number of processes in the D state and Z state on the host has a default threshold range. This alarm is generated when the number of processes exceeds the threshold.
This alarm is cleared when Trigger Count is 1 and the total number of processes in the D state and Z state of user omm on the host does not exceed the threshold. This alarm is cleared when Trigger Count is greater than 1 and the total number of processes in the D state and Z state of user omm on the host is less than or equal to 90% of the threshold.
The function of checking the number of processes in the Z state on the host applies to MRS 3.2.0 or later.
Alarm Attributes
| Alarm ID | Alarm Severity | Auto Cleared |
|---|---|---|
| 12028 | Major | Yes |
Alarm Parameters
| Parameter | Description |
|---|---|
| Source | Specifies the cluster or system for which the alarm was generated. |
| 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
- Latency: New service processes cannot be created. Concurrent task processing may be slow and services may be delayed.
- Service failure: New service processes cannot be created, which may cause job failures.
Possible Causes
The host responds slowly to I/O (disk I/O and network I/O) requests and some processes are in the D state and Z state.
Handling Procedure
Check the processes in the D state and Z state.
- In the alarm list on FusionInsight Manager, locate the row that contains the alarm, and click
to view the IP address of the host for which the alarm is generated. - Log in to the host for which the alarm is generated as user root.
Switch to user omm:
su - omm
- Run the following command as user omm to view the PID of the process that is in the D state and Z state:
ps -elf | grep -v "\[thread_checkio\]" | awk 'NR!=1 {print $2, $3, $4}' | grep omm | awk -F' ' '{print $1, $3}' | grep -E "Z|D" | awk '{print $2}' - Check whether the command output is empty.
- Switch to user root and restart the host for which the alarm is generated. (Restarting a host is risky. Ensure that the service process is normal after the restart.)
reboot
- Check whether the alarm is cleared 5 minutes later.
- If yes, no further action is required.
- If no, go to Step 7.
Collect the fault information.
- On FusionInsight Manager, choose O&M. In the navigation pane on the left, choose Log > Download.
- Select OMS for Service and click OK.
- Click
in the upper right corner, and set Start Date and End Date for log collection to 1 hour ahead of and after the alarm generation time, respectively. Then, click Download. - Contact O&M personnel and provide the collected logs.
Alarm Clearance
This alarm is automatically cleared after the fault is rectified.
Related Information
None