During user logoff ,UPM is holding back files/folders in XenApp server. Consequently locally cached profiles are not getting deleted from XenApp server as expected.
This then presents further issues in that users experience issues when attempting to launch applications and also results in double profiles on server when users log back into server.
This issue is addressed with private LC5266 which is included in UPM 5.4.1. Refer to Citrix Documentation - Fixed issues.
This is a result of a "CacheFill" failure by UPM (cachefill being part of the Profile Streaming functionality). The failure to cachefill properly means that UPM opens the file but does not close correctly when the function fails.
This ungraceful handling of the file means that UPM keeps open handles on the file which means the logoff from session is unsuccessful. This then leads to duplicate profiles since the previous profile could not be purged successfully at logoff.
Process Monitor and Handles.exe will show the open UPM handles into these files when troubleshooting. Also, disabling Profile Streaming should mitigate the issue but is not a viable workaround.
To confirm this issue from a troubleshooting perspective, capture a CDF trace for a problematic user session (logon & logoff) and then search for an entry with "Failed to cache-fill file".