Jump to content


XenServer dom0_memory issues

Started by Tobias Unsleber , 17 February 2017 - 10:58 AM
2 replies to this topic

Tobias Unsleber Members

Tobias Unsleber
  • 16 posts

Posted 17 February 2017 - 10:58 AM



I'm experiencing some RAM-issues with XenServer now and then. The symptoms are that there are warnings in XenCenter that dom0 memory is too low and that this may have an impact on virtual server performance on the corresponding host. Another symptom is that there are cases in which some virtual servers become unreachable.


As a first measure I increased the dom0_memory on all affected host from the default(something about 700 MB RAM? to 2 GB). This helped a bit. But the issue still comes up sometimes.


I suspect possible memory_leak issues within one or another xenserver component. Of course I should upgrade to the latest xenserver major version and install all available patches. Both is not done. My Servers are still at XenServer 6.5 and not all patches are applied. I'm very guarded in applying updates into the XenServers since I do not want trouble with XenServer-Versions that aren't working as well as expected. I got more than enough of that experience so far.


My current solution is to check the free memory and do some cache_cleanup if the free memory becomes low. I'm clear that this a very simple workaround. Currently I'm watching the situation and my first impression is, that it helps with my special problem.


Here are the scripts, I applied:






Alan Lantz Members

Alan Lantz
  • 6,985 posts

Posted 17 February 2017 - 05:07 PM

Depending on your VM's 2Gb may not be enough. Try increasing to 4Gb. Yes, the default was 768M which was seriously 

limited. XenServer 6.5 is a very stable release. I have halted patchin 6.5 in favor of utilizing my time in 7.0 migrations. Looks like I'm currently holding at XS65ESP1024. 



Tobias Kreidl CTP Member

Tobias Kreidl
  • 18,287 posts

Posted 17 February 2017 - 05:12 PM

Depending on your number of VMs, 2 to 4 GB may be needed. We have some servers that even are set to use 8 GB that host around 100 VMs or so.