Category Archives: OWSTimer.exe taking 100% CPU

How To Fix OWSTimer.exe taking 100% CPU Issue

Problem

OWSTimer.exe taking 100% CPU and/or creating Gigabyte sized log files.

Solution

Below  are the steps I used to troubleshoot the client’s environment with the actual screenshots.  In the end I believe that a simple stsadm –o execadmnsvcjobs did the trick.

Step 1- Check the logfiles, they are too big to open.

clip_image001

Step 2 – Are we out of drive space?

clip_image002

Step 3 – With permission from the client, stop “Windows SharePoint Services Timer”

clip_image003

Step 3 – Also stop the “Windows SharePoint Services Tracing” services

clip_image004

Step 4 – Review the log.  We clearly have timer job issues

clip_image005

Step 5 – Review the event log.  Hmm, note how the time changed?  Client confirmed that they had a time issue with the server a few weeks back.  Looks like we had daylight savings time kick in unexpectedly this morning.

clip_image006

Step 6 – Review the timer jobs.  Nothing significant to see

clip_image008

Step 7 – Let’s execute any pending jobs

clip_image007

Step 8 – Before we restart let’s turn off tracing so that we don’t keep filling up the log files (note that we do turn tracing back on later).

clip_image009

Step 9 – Restart the “Windows SharePoint Services Timer” and “Windows SharePoint Services Tracing” services

clip_image010

Step 10 – Re-run stsadm –o execadmsvcjobs

clip_image011

Step 11 – Check the timer service, CPU looks good!

clip_image012

Step 12 – Re-enable tracing

clip_image013

Explanation/Theory

Time change caused timer job to trigger because it thought it was the predecessor of a timer job already in the stack. Of course 2 timer jobs most likely tried to communicate or attach to the same object causing the server to spin into a loop. Large logfiles was simply a side effect (and the logs were behaving properly).

How To Fix OWSTimer.exe taking 100% CPU Issue

Problem

OWSTimer.exe taking 100% CPU and/or creating Gigabyte sized log files.

Solution

Below  are the steps I used to troubleshoot the client’s environment with the actual screenshots.  In the end I believe that a simple stsadm –o execadmnsvcjobs did the trick.

Step 1- Check the logfiles, they are too big to open.

clip_image001

Step 2 – Are we out of drive space?

clip_image002

Step 3 – With permission from the client, stop “Windows SharePoint Services Timer”

clip_image003

Step 3 – Also stop the “Windows SharePoint Services Tracing” services

clip_image004

Step 4 – Review the log.  We clearly have timer job issues

clip_image005

Step 5 – Review the event log.  Hmm, note how the time changed?  Client confirmed that they had a time issue with the server a few weeks back.  Looks like we had daylight savings time kick in unexpectedly this morning.

clip_image006

Step 6 – Review the timer jobs.  Nothing significant to see

clip_image008

Step 7 – Let’s execute any pending jobs

clip_image007

Step 8 – Before we restart let’s turn off tracing so that we don’t keep filling up the log files (note that we do turn tracing back on later).

clip_image009

Step 9 – Restart the “Windows SharePoint Services Timer” and “Windows SharePoint Services Tracing” services

clip_image010

Step 10 – Re-run stsadm –o execadmsvcjobs

clip_image011

Step 11 – Check the timer service, CPU looks good!

clip_image012

Step 12 – Re-enable tracing

clip_image013

Explanation/Theory

Time change caused timer job to trigger because it thought it was the predecessor of a timer job already in the stack. Of course 2 timer jobs most likely tried to communicate or attach to the same object causing the server to spin into a loop. Large logfiles was simply a side effect (and the logs were behaving properly).