You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Evaluating host available memory when starting virtual machines #12276
I'm not sure if this is a bug.
The situation is as follows:
When starting a virtual machine or performing a live migration, ACS evaluates whether the target host has sufficient memory. As shown in the screenshot, the total memory is 93GB, with 86GB currently used and 71GB allocated. Attempting to start an 8GB virtual machine succeeds. Using free -g confirms the system has indeed used 86GB.
Analysis of the logs indicates that ACS determines whether the host has sufficient memory resources to start a VM based on allocated memory, not actual used memory.
The system and other programs consume a certain amount of memory. Typically, the amount of memory used is higher than the amount allocated, which can lead to insufficient memory and trigger an OOM (Out of Memory) issue.
I know that setting host.reserved.mem.mb in the agent configuration file reserves memory. This is a static configuration. I'm unsure if there is a better approach.
changed the title [-][SHORT PROBLEM DESCRIPTION] When starting a virtual machine, the detection of the host machine's used memory is inaccurate.[/-][+]When starting a virtual machine, the detection of the host machine's used memory is inaccurate.[/+]on Dec 17, 2025
changed the title [-]When starting a virtual machine, the detection of the host machine's used memory is inaccurate.[/-][+]Evaluating host available memory when starting virtual machines[/+]on Dec 17, 2025
Activity
[-][SHORT PROBLEM DESCRIPTION] When starting a virtual machine, the detection of the host machine's used memory is inaccurate.[/-][+]When starting a virtual machine, the detection of the host machine's used memory is inaccurate.[/+][-]When starting a virtual machine, the detection of the host machine's used memory is inaccurate.[/-][+]Evaluating host available memory when starting virtual machines[/+]