The issue here is clock time synch. If the SQL Server/SharePoint server do not agree then OWSTimer gets itself in a right tizz and maxes the processor. In a VM environment this might look particularly weird - as your VM Host may be reporting plenty of resources available.
To resolve this (in WMWare)
To resolve this do the following:
- Stop and disable the OWSTimer and Windows SharePoint Services Tracing services
- Install VMWare Tools if not already installed on the SQL and SP boxes
- Right click on the VMWare System Tray icon and tick the "Time Synchronisation between the virtual machine and the console operating system
- Ensure your VM host synchronises time from your internal time synch service (ie in synch with the AD controller)
- Verify that all servers are time synched
- restart OWSTimer and Tracing services
Why does this happen so much in VMWare?
Well, VMWare has issues when the CPU goes into powersaving modes, meaning that the clocks don't correctly calculate time (eg the VM image thinks it is running at 2.4Ghz, but is actually at 1GHz), therefore gets out of synch easily. The same effect seems to occur when you power up a VM image that has been left for months.
Ah, Thanks!
ReplyDeleteMy SQL and OWSTimer we maxing out in my VM and now everything seems well.
Thanks for this fix. It just saved me from a night in a cold server room!
ReplyDeleteJust realised your from Newcastle too, hi!
Thanks very much, Paul.
ReplyDeleteIf only my customer had learned this before switching back to physical machines.
Josh
Ottawa, Canada
Thanks I spent all morning trying to work out what was going on.
ReplyDeleteThis fixed it instantly.
I was on the verge of reinstalling my test machine.
Il semble que vous soyez un expert dans ce domaine, vos remarques sont tres interessantes, merci.
ReplyDelete- Daniel
Great resolution..tks. I had come across several times. I was sidetracked from it however because the server time was not out of synch.
ReplyDelete