Disk space filling up on Web Front End servers
I have several web front end servers in a SharePoint 2013 farm and disk space on the C: drive seems to get eaten quite quickly. By using TreeSize I was able to locate a temporary folder used by IE that contained in excess of 130,000 JavaScript and icon files totalling nearly 15GB:
C:\Windows\SysWOW64\Config\SystemProfile\AppData\Local\Microsoft\Windows\INetCache\IE
After some investigation I determined that these files were getting created each time my warm up script ran. I’m using SPBestWarmup by Jeff Jones which contains a section for clearing up these files. However, the locations in the script were different. To fix this I simply changed the locations to remove temporary files from:
$env:systemroot\system32\config\systemprofile\appdata\local\Microsoft\windows\temporary internet files\content.ie5\*.*
$env:systemroot\syswow64\config\systemprofile\appdata\local\Microsoft\windows\temporary internet files\content.ie5\*.*
to:
$env:systemroot\System32\Config\SystemProfile\AppData\Local\Microsoft\Windows\INetCache\IE\*.*
$env:systemroot\SysWOW64\Config\SystemProfile\AppData\Local\Microsoft\Windows\INetCache\IE\*.*
The next time the script ran the folder was emptied.
Dave –
Thank you so much for this post. I have been having the exact same problem and I just could not figure it out. Using TreeSize I had already found the offending folder but needed to know why it was happening. It was indeed the SPBestWarmup script.
In my case the server had 2.3 Million files for 250G. I am cleaning them up now. Thanks Again. Steve R