Help Center/ Log Tank Service/ FAQs/ Host Management/ What Do I Do If ICAgent Restarts Repeatedly After Being Installed?
Updated on 2025-02-13 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
- The resource usage exceeds the limit of ICAgent.
- ICAgent is abnormal.
Fault Locating
- Log in to the ECS where ICAgent is installed.
- Run the cd /var/ICAgent command to go to the ICAgent log directory.
- Query the current log file to check whether the resource usage is abnormal.
cat oss.icAgent.trace| grep 'icagent exit'
- If any command output is displayed, there is a resource abnormality. Troubleshoot it.
- If no command output is displayed, the resource usage is normal.
- Query historical log files to check whether the resource usage is abnormal.
zgrep 'icagent exit' *.zip
- If any command output is displayed, there is a resource abnormality. Troubleshoot it.
- If no command output is displayed, the resource usage is normal.
- Query the ICAgent startup log file to check whether ICAgent is abnormal.
cat oss.script.trace | grep runtime
- If any command output is displayed, there is a ICAgent abnormality. Troubleshoot it.
- If no command output is displayed, ICAgent is running properly.
- Query the historical ICAgent startup log files to check whether ICAgent is abnormal.
zgrep runtime oss.script.*.zip
- If any command output is displayed, there is a ICAgent abnormality. Troubleshoot it.
- If no command output is displayed, ICAgent is running properly.
Parent topic: Host Management
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.