How Many CPU, Memory, and Disk Resources Are Occupied When the Agent Is Running?
HSS uses lightweight agents, which occupy only a few resources and do not affect your services or containers.
This section describes the CPU, memory, and disk resources occupied by the agent on the server and container nodes when the agent performs a scan task. The agent is scheduled to scan your servers and containers from 00:00 to 04:00 every day. It does not affect your server of container performance.
Maximum CPU Usage
While the agent runs on a server or container node, the general CPU usage does not exceed 20% of a vCPU. While the agent performs a virus scan, it works with the virus scan program, and their total CPU usage do not exceed 30% of multiple vCPUs. The actual CPU usage depends on your server specifications. For details, see Table 1.
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.
For details about virus scan, see Virus Scan.
vCPUs |
Max. CPU Usage |
Max. CPU Usage During Virus Scan |
---|---|---|
1vCPUs |
20% |
50% |
2vCPUs |
10% |
40% |
4vCPUs |
5% |
35% |
8vCPUs |
2.5% |
32.5% |
12vCPUs |
About 1.67% |
About 31.67% |
16vCPUs |
About 1.25% |
About 31.25% |
24vCPUs |
About 0.84% |
About 30.84% |
32vCPUs |
About 0.63% |
About 30.63% |
48vCPUs |
About 0.42% |
About 30.42% |
60vCPUs |
About 0.34% |
About 30.34% |
64vCPUs |
About 0.32% |
About 30.32% |
Peak Memory Usage
While the agent runs on a server, the maximum memory usage is 500 MB. While the agent runs a virus scan task, it works with the virus scan program, and their total memory usage is 800 MB on average.
While the agent runs on a container node, its memory usage varies by the agent deployment mode.
- Single-node installation: If you install the agent on every node by referring to Installing the Agent on Servers, the agent generally occupies 500 MB memory at most. While the agent performs a virus scan task, it works with the virus program, and their total memory usage is 800 MB on average.
- Cluster Installation: If you connect the entire cluster to HSS by referring to Installing the Agent in a Cluster, the agent will run as a DaemonSet. Generally, the agent occupies 1,100 MB memory at most. While the agent runs a virus scan task, it works with the virus scan program, and their total memory usage is 1,400 MB on average.
If the agent memory usage exceeds the maximum memory limit, the agent will be automatically restarted within 5 minutes.
For details about virus scan, see Virus Scan.
Peak Disk Usage
While the agent runs on a server or container node, its disk usage is as follows:
- Linux: The installation directory is under /usr/local/hostguard and occupies up to 600 MB. The log directory is under /var/log/hostguard/ and occupies up to 250 MB.
- Windows: The installation directory and log directories are under in C:\Program Files\HostGuard and occupies up to 700 MB.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot