Help Center/ ModelArts/ Troubleshooting/ Inference Deployment/ Service Deployment/ Alarm Status of a Deployed Real-Time Service
Updated on 2024-04-11 GMT+08:00

Alarm Status of a Deployed Real-Time Service

Symptom

A deployed real-time service is in the Alarm state.

Solution

The prediction using a real-time service that is in the Alarm state may fail. Perform the following operations to locate the fault and deploy the service again:

  1. Check whether there are too many prediction requests on the backend.

    If you call APIs for prediction, check whether there are too many prediction requests. A large number of prediction requests lead to the alarm state of the real-time service.

  2. Check whether the service memory is functional.

    Check whether memory overflow or leakage occurs in the inference code.

  3. Check whether the model is running properly.

    If the model fails, for example, the associated resources are faulty, check inference logs.

  4. Check whether there is an abnormal amount of instance pods.

    If O&M engineers have deleted abnormal instance pods, the alarm "Service error. There are XXX abnormal instances." may occur in the event. Once the alarm is displayed, the service automatically starts a new normal instance to restore to the normal state. The process may take a while.