Clearing the SharePoint Configuration Cache is a great first step to troubleshoot SharePoint Timer Service related performance issues. For example, when attempting to deploy solutions in SharePoint but the solutions seem to never deploy, or take a very long time to do so.
These steps should be executed for each server in your SharePoint Farm:
- Stop the SharePoint Timer service on each of the servers within the SharePoint farm.
- Click Start, go to Administrative Tools, and then click Services.
- Right-click SharePoint Timer Service, and then click Stop.
- Navigate to the following folder: %SystemDrive%ProgramDataMicrosoftSharePointConfig
Note: The %SystemDrive% variable relates to the drive on which Windows is installed; by default, this is the C: drive. You may find multiple folders with similarly formatted names containing files similar to below; steps 4 - 8 should be executed for each of these folders.
- Locate the folder that has a GUID as a name, such as a326e515-0047-4328-832c-02927b84d98c
- Open the relevant folder and delete all files EXCEPT the Cache.ini file. (DO NOT DELETE THIS FILE)
- The folder should now only have the Cache.ini file.
- Modify the Cache.ini file by right-clicking and selecting Open With > Notepad
- Delete the contents of the Cache.ini file (example: 268861346) and replace it with 1.
- Save and exit the Cache.ini file
- Once steps 4 - 8 are done for each GUID folder on a server, start the SharePoint Timer Service again.
- Click Start, point to Administrative Tools, and then click Services.
- Right-click SharePoint Timer Service, and then click Start.
The SharePoint Timer Service will begin populating this folder and modifying the number in the Cache.ini file.
Stop SharePoint Timer Service
net stop SPTimerV4
Start SharePoint Timer Service
net start SPTimerV4