Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Every few days we have to reboot a few servers due to high memory utilization. These servers are running in an VMWare ESXi v4.1 environment. The ESXi server is not over-committed. It still has 17G free. In the VMWare ESXi configuration for the problem servers, I've set Memory Reservations based on another posting I read, but didn't seem to help.

We have 3 Windows 2008 R2 SP1 guest VMs running on the host that exhibit the problem. These VMs are used as test environments and are similarly configured, running IIS and Sql Server. The memory allocated to each VM is 8 GB, and the Sql Server memory usage is capped at 1.5 GB.

We frequently notice that the memory consumption in all these VMs have gone up to 8 GB, making the guests slow and almost unusable due to the memory pressure. The Performance Tab in the Task Manager shows this high memory usage. However, when we look at the individual processes in the Task Manager, we do not see any process that can account for the amount of memory being used. The total memory usage shown there can perhaps account for 2 - 2.5 GB, but there is no indication of where all the remaining memory is being used for. Restarting Sql Server or IIS doesn't help. rebooting the guest is the only step that releases the memory.

We have tried the memory reservation suggestion mentioned in this post, but that didn't help : What's using all my memory?

Any advice would be appreciated.

share|improve this question
1  
Bit more detail please? What os are the guests? Is there a performance issue? –  t1nt1n Apr 9 '12 at 19:43
1  
which memory? guest memory or host memory? also, what applications are you running in the vms? –  johnshen64 Apr 9 '12 at 19:43
2  
Can you clarify what you mean by "high memory utilization"? Is the ESXi server's memory filling up? Or, is the memory available to the guest OS within the VMs filling up? What symptoms are you seeing? –  Shane Madden Apr 9 '12 at 19:43
1  
Are you rebooting virtual machines or the ESXi servers themselves? What is the nature of this high memory utilisation? What problems does it cause and why reboot? –  ramruma Apr 9 '12 at 19:44
1  
Start with troubleshooting the problem instead of rebooting the servers and/or making changes based on some post you read. What process is consuming the memory? –  joeqwerty Apr 9 '12 at 19:54

1 Answer 1

Check your resource allocation to see if there are swapping and/or ballooning. Also, do you have an equivalent physical server or nonesxi vm to run the same software stack to compare with? It may not be esxi and could just be how your application configuration is causing the excessive memory needs.

share|improve this answer
    
If we don't reboot the servers, performance is severely degraded. –  Dave M Apr 10 '12 at 16:55
    
The problem is with the VM Guest's performance not ESXi. We are running Windows 2008 R2 SP1 & SQL 2008. We are rebooting the VM when there is noticeable performance issues. If we don't reboot the VM, performance remains severely degraded. –  Dave M Apr 10 '12 at 17:02
1  
sounds like something is having memory leak in your guestOS –  johnshen64 Apr 10 '12 at 17:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.