After applying the latest Windows updates for Windows Server 2003, we received many “Timed Out” errors when trying to run content deployment jobs. The main culprit of there errors seemed to be the OWSTIMER.EXE process and it taking 100% of the CPU… yeah, I know “it’s a pain!”
Anyway, one of the things I did to try and get the issue resolved was to clear out the years of Content Deployment objects that had built up on the target server.
This was a 2 step process:
- Find all the Content Deployment Job objects in the config database and get their IDs
select * from Sharepoint_Config.dbo.[Objects] where [Name] like 'ContentDeploymentJobDefinition%'
- Run an stsadm command to delete the object based on its ID
STSADM -o deleteconfigurationobject -id "<object id>"
I was able to do some text manipulating and get a really long .bat file that ran for a really long time. When it was done, all the Content Deployment Job objects were gone.
However, it did not seem to fix my issue with OWSTIMER.EXE taking 100% of the CPU.
The solution for that seemed to be narrowing down which Content Deployment Job was causing the issue by disabling them all and then re-enabling them one at a time and deleting the target site collection and doing a full deployment.