Hello
Thank you for posting in Microsoft Community forum.
logman.exe is a command-line tool that you can use to create and manage Event Trace Session and Performance logs. The logman start command starts a data collector and sets the begin time to manual, while the logman stop command stops a Data Collector Set and sets the end time to manual.
In normal operation, logman.exe should stop when the data collection is complete or when the logman stop command is issued. However, there could be several reasons why logman.exe might not stop automatically:
Configuration Issues: If the data collector set is not configured correctly, logman.exe might not stop as expected. For example, if the stop condition is not set or if it’s set to an unusually high value, logman.exe might continue running indefinitely.
Resource Issues: If the system is under heavy load or if there are resource constraints (like low memory or high CPU usage), logman.exe might not be able to stop as expected.
Software Issues: There could be a bug in the software causing logman.exe to not stop automatically. This could be a bug in logman.exe itself or in the underlying Windows operating system.
Permissions Issues: If logman.exe does not have the necessary permissions to stop the data collector set, it might continue running.
If logman.exe is consuming a lot of memory and not stopping as expected, it might be worth checking the configuration of your data collector sets and ensuring that your system has sufficient resources.
Best Regards,
Wesley Li