MIM 2016 SP1 - Portal Servers Run Out of Disk Space.
I recently ran into an issue after upgrading a MIM Environment to MIM 2016 SP1 (version 4.4.1459.0 or greater) where the MIM portal trace log files would grow until all available disk space was consumed. Below is the root cause of the issue and the method I used to resolve it.
Temporary Fix to Restore Service:
In the event you experience this issue and need a quick fix to restore service to your MIM environment, the trace log files Microsoft.ResourceManagement.Service_tracelog00.svclog and Microsoft.ResourceManagement.Service_tracelog00.txt can be copied to another location or deleted to reclaim storage space. Please refer to your firm’s policies and guidelines on log file retention before moving or deleting these files.
MIM SP1 implemented verbose logging to the trace logs located in the \Program Files\Microsoft Forefront Identity Manager\2010\Service container to improve visibility and logging of portal workflow activities. These trace log files are stored in the following files:
Microsoft.ResourceManagement.Service_tracelog00.svclog and Microsoft.ResourceManagement.Service_tracelog00.txt)
Additional details of this can be found at the following link: https://docs.microsoft.com/en-us/microsoft-identity-manager/infrastructure/mim-service-dynamic-logging
Trace Log file growth can be managed by upgrading to MIM version 18.104.22.168 which implements circular logging of the Trace Log files. The following link provides additional details on sizing the storage and setting the max file size for each of the log files:
MIM 22.214.171.124 Upgrade Procedure:
1. Please read the release notes carefully before upgrading your environment… https://support.microsoft.com/en-us/help/4073679/hotfix-rollup-package-build-4-5-26-0-is-available-for-microsoft
2. Applying a Release Update to the MIM Synchronization Service and Offline Spare
3. Apply Prerequisites to MIM Portal Servers
Install 2013 x64 Visual C++ Redistributable Packages (vcresist_x64.exe)
4. Install .Net 4.6
5. Clean Up Trace Log Files
The trace log files Microsoft.ResourceManagement.Service_tracelog00.svclog and Microsoft.ResourceManagement.Service_tracelog00.txt can be copied copying to another location or deleted to reclaim storage space. Please refer to your firm’s policies and guidelines on log file retention before deleting these files.
6. Applying a Release Update to the MIM Service and Portal