Help Center> Log Tank Service> FAQs> Host Management> What Do I Do If ICAgent Restarts Repeatedly After Being Installed?
Updated on 2024-06-25 GMT+08:00

What Do I Do If ICAgent Restarts Repeatedly After Being Installed?

Background

ICAgent restarts repeatedly after being installed.

Impact on the System

ICAgent metrics/logs cannot be collected.

Possible Causes

  1. The resource usage exceeds the maximum allowed limit.
  2. ICAgent is abnormal.

Fault Locating

  1. Log in to the ECS host where ICAgent is installed.
  2. Run the cd /var/ICAgent command to go to the ICAgent log directory.
  3. Filter log files and check whether the resource usage exceeds the upper limit.

    cat oss.icAgent.trace| grep 'icagent exit'

  4. Filter compressed log packages and check whether the resource usage exceeds the upper limit.

    zgrep 'icagent exit' *.zip

  5. Filter log files and check whether ICAgent is abnormal.

    cat oss.script.trace | grep runtime

  6. Filter compressed log packages and check whether ICAgent is abnormal.

    zgrep runtime oss.script.*.zip

Host Management FAQs

more