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.

It has weird hangs and then random CPU spikes that do a ton at once. While remoted into the VMs I get an update all at once then it hangs for another 20 seconds. When it lets it go through I get a CPU spike.

Basic server specs for the HW node is: 8 CPUs, 16GB ram 1TB HDD total iPERC6 raid 10

The VMs are barely used but I have them spec'd at VM 1: 4 CPUs, 4GB Ram

VM2: 4 CPUs 6GB ram

The HW node currently says it's total CPU usage is 11% AND Used Memory is at 63%out of 16GB

I'm new to this stuff so I'm not sure. I just recently installed this and set it all up.

UPDATE: I'm still experiencing the same problems, doesn't seem to be as often... TODAY I came into the office, noticed web applications were barely functioning.

I checked the SQL Server VM (windows 2k8 x64) and it was using 90% RAM (well Xen Center showed that). But when I got into the console, it didn't look like it had that much used in task manager.) So I'm thinking Xen Server was so hosed that it wasn't even updating that data regularly or something... who knows...?

How do I get DETAILED logs, when i click logs tab in Xen Center it's like a very basic "start / stop" log file... hmm

UPDATE: (please help) 4/6/2011 I've got it running for a couple weeks in between needing CORE server reboots... but this is still REALLY bad... thse are web servers...

I'm thinking I shouldn't have used 64BIT windows 2008? I'm running ColdFusion 8 32bit, and SQL Server 2005 32bit... could that be causing it?

share|improve this question
    
Did you install Integration Services on the VMs? –  DanBig Jan 10 '11 at 15:26
    
I'm not sure... :-\ –  Joshua Rountree Jan 24 '11 at 15:31
    
I'm still experiencing problems... I've had nothing but problems with XenServer. I'm not skilled enough to know how to resolve them either so I feel trapped in this shit. I have 2 VPS running x64 win 2008. I regret using 64bit as well... –  Joshua Rountree Mar 14 '11 at 12:42
    
What CPU are you using? –  DanBig Apr 6 '11 at 13:45
    
We have exactly the same issue, also wiht a Dell PE 2950 III. Did you find a solution? greetz –  user130808 Aug 3 '12 at 7:23

3 Answers 3

Unless the VM's actually need that much CPU horsepower, I'd very seriously consider dropping them to one or two processors each. When a VM wants to use a processor cycle, all four cores of one of your physical processors have to be ready, which can cause some pain if anything else is going on (dom0 in this case).

I'm more familiar with the VMware side of things, but the issue is similar. Try going down to at most two cores per VM, or preferably one. Then see how the response time goes.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1005362

http://communities.vmware.com/thread/143348

share|improve this answer
    
I think this answer has been helpful, but I'm going to give it a few more days and see how it reacts to the changes. I'll keep you updated. –  Joshua Rountree Jan 24 '11 at 15:32
    
Okay, it's still not helping. They are both only taking up 2 cores out of the total 8 so now a total of 4 cores are in use. It's still hosing up :-\ could it just be XenServer? I REALLY hope there is a fix so that I don't have to redo this server blah :-\ –  Joshua Rountree Jan 31 '11 at 13:28
    
Oh, also - it goes through these spurts... it freezes for like... 20 seconds... then all of a sudden lets me do things through console... then it freezes again, keeps doing that... the CPU spikes on the core server –  Joshua Rountree Jan 31 '11 at 13:30
    
hmm... maybe it's my sql server - it's taking up like 3 out of 4 GB of ram for some reason... –  Joshua Rountree Jan 31 '11 at 13:31
1  
Very possible. SQL server will use all available RAM, up to caching all of the database. Make sure you're not overprovisioning your RAM. –  Jeff McJunkin Jan 31 '11 at 20:32

What version of XenServer? If it is 5.6 FP1, install hotfix006 and hotfix007 and retry. About the cpu allocation, you shouldn't allocate more than you have, otherwise you're load the hypervisor scheduler with a huge amount of requests from the VMs. Also, when the VMs are running sluggish, if you run top on dom0, is there any process taking a huge cpu load? How many CPUs are assigned to dom0?

share|improve this answer

It looks like you may have a memory problem. Install the XenServer guest tools and see if that makes a difference.

share|improve this answer

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.