How Many CPU and Memory Resources Are Occupied by the Agent When It Performs Scans?
HSS uses lightweight agents, which occupy only a few resources and do not affect your services.
The CPU and memory usage is as follows.
Maximum CPU Usage
A running agent occupies a maximum of 20% of a vCPU. The actual usage depends on your server specifications. For details, see Resource Usage of Different Specifications While the Agent Is Running.
If the CPU usage exceeds 20% of a vCPU, the agent will automatically reduce CPU usage, spending more time on scans. This does not affect your services. If the CPU usage exceeds 25% of a vCPU, the agent will be automatically restarted.
![](https://support.huaweicloud.com/eu/hss2.0_faq/public_sys-resources/note_3.0-en-us.png)
The agent is scheduled to scan your servers from 00:00 to 04:00 every day. It does not affect the normal running of the server system.
- The agent is scheduled to scan your servers from 00:00 to 04:00 every day. It does not affect the normal running of the server system.
- If an agent is performing a virus scan task, the virus scan program occupies an extra part of the CPU. The CPU usage cannot exceed 30% of the multi-core CPU.
Peak Memory Usage
A running agent occupies about 500 MB memory. If the memory usage reaches 500 MB, the agent will be automatically restarted within 5 minutes.
![](https://support.huaweicloud.com/eu/hss2.0_faq/public_sys-resources/note_3.0-en-us.png)
If an agent is performing a virus scan task, the average memory usage is 800 MB.
Resource Usage of Different Specifications While the Agent Is Running
The following table describes the CPU and memory usage of different specifications when the agent is running.
vCPUs |
Max. CPU Usage of Agent |
Memory Usage During Virus Scan (Peak Value) |
Max. Memory Usage |
Memory Usage During Virus Scan (Average Value) |
---|---|---|---|---|
1 vCPU |
20% |
50% |
500MB |
800MB |
2 vCPUs |
10% |
40% |
500MB |
800MB |
4 vCPUs |
5% |
35% |
500MB |
800MB |
8 vCPUs |
2.5% |
32.5% |
500MB |
800MB |
12 vCPUs |
About 1.67% |
About 31.67% |
500MB |
800MB |
16 vCPUs |
About 1.25% |
About 31.25% |
500MB |
800MB |
24 vCPUs |
About 0.84% |
About 30.84% |
500MB |
800MB |
32 vCPUs |
About 0.63% |
About 30.63% |
500MB |
800MB |
48 vCPUs |
About 0.42% |
About 30.42% |
500MB |
800MB |
60 vCPUs |
About 0.34% |
About 30.34% |
500MB |
800MB |
64 vCPUs |
About 0.32% |
About 30.32% |
500MB |
800MB |
Agent FAQs FAQs
- Is the Agent in Conflict with Any Other Security Software?
- How Do I Install the Agent?
- How Do I Uninstall the Agent?
- What Should I Do If Agent Installation Failed?
- How Do I Fix an Abnormal Agent?
- What Is the Default Agent Installation Path?
- How Many CPU and Memory Resources Are Occupied by the Agent When It Performs Scans?
- Do WTP and HSS Use the Same Agent?
- How Do I View Servers Where No Agents Have Been Installed?
- What Addresses Do ECSs Access After the Agent Is Installed?
- How Do I Use Images to Install Agents in Batches?
- What Do I Do If I Cannot Access the Download Link of the Windows Agent?
- What Do I Do If Agent Upgrade Fails and the Message "File replacement failed" Is Displayed?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more