What Should I Do If a Virus Scan Task Terminates Unexpectedly?
Symptom
A virus scan task fails to be executed, and the cause is that the task terminated unexpectedly, as shown in Figure 1.
Possible Causes
The memory usage exceeds the limit.
Solution
- Check whether the target server runs Linux or Windows.
- Increase the server memory, scan the server again, and check whether the problem is resolved.
- If yes, no further action is required.
- If no, submit a service ticket to contact technical support.
- Log in to the target server and run the following command to check the size of the available memory (available):
free -h
[root@hce3-hss-test]# free -h Total used free shared buff/cache available Mem: 7.6G 520M 910M 80M 6.2G 6.7G Swap: 0B 0B 0B - Run the following command to modify the mem.agent.max parameter and increase the memory:
vim /usr/local/hostguard/conf/resource.conf
You are advised to increase the memory by at least 500 MB, without exceeding the allocatable memory size queried in 3.
cgroup.cpu:15 cgroup.mem:500 *** mem.agent.max:1500 ***
- Execute the virus scan task again and check whether the problem is resolved.
- If yes, no further action is required.
- If no, obtain the /var/log/hostguard/host_virus_scanner.log log and submit a service ticket to contact technical support.
What is your overall rating for this page?
Thank 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
