Topic
The below steps outline how to clear the SharePoint Configuration Cache.
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.
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.
Instructions
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
Note: By default, these folders may be hidden. To view hidden folders, in File Explorer, click View and check the box for Hidden Items
- 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.
Additional Information
If you prefer to stop and start the SharePoint Timer Service via PowerShell, you can use the following commands:
Stop SharePoint Timer Service
Start SharePoint Timer Service
Stop SharePoint Timer Service
net stop SPTimerV4
Start SharePoint Timer Service
net start SPTimerV4
Related Links
Steps above were referenced from SharePoint 2010 – Clearing the Configuration Cache in Microsoft Docs