Recently had a Citrix server start to pulse on Disk Space useage in Monitoring where it would use 25 Gig’s in an hour then clear which brought up waves on the disk usage monitoring. The good news was that it was happening every hour so easily trackable in realtime.
I used performance monitor to check what the top process was that was writing to disk which was System … which did not help
Then I checked the folder, that System process was writing to the most, which picked up to be this single file :
C:\Windows\System32\LogFiles\UserProfileManager\%domain.local%#%servername%_pm_config
Checking this file and it was 20 Gigabytes which would be the largest Config File I have ever seen!
I restart the Citrix Profile Management Service which dropped the File back down to 378kb and stopped the excessive disk writes/useage!