If you notice a warning in ComTrade.MP.XenDesktop.Service.log as described above, for the use of an application without a connection, force the Citrix MPXAXD Agent to monitor all active connections. To do this:
- Stop the Citrix MPXAXD Agent Service on the MPXAXD Site Data Collector.
- Delete the following files:
- Start the Citrix MPXAXD Agent Service.
Repeat these steps every time this problem occurs.
Option 2: Increase the connection retention time
A long-lasting workaround to mitigate this problem is to increase the connection retention time on the agent (default is 24 hours). To do this, add a registry key, ConnectionEventsMaxAgeInHours on all Delivery Controllers. Set its value to the maximum number of hours you expect your connections to last. To add the new registry key:
Caution: Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Citrix recommends that you back up Windows Registry before changing it.
- In the Registry Editor, navigate to HKEY_LOCAL_MACHINESOFTWAREComTradeXenDesktop MP Agent
- Right-click and select New > D_WORD (32-bit)Value.
- Name the new key ConnectionEventsMaxAgeInHours and set its value to the number of hours you expect the longest connections in the monitored environment to last.
- Save the changes.
To apply the new setting, restart the Citrix MPXAXD Agent Service.
Note: This workaround might lead to increased memory consumption in large environments because data is stored for longer periods.