Forum Discussion
Dmitry_Malyshev
Mar 27, 2023Copper Contributor
CloudCache issue after relogon
Hello everyone. Trying how to figure out the following issue. Our configuration: FsLogix Apps 2.9.8228.50276 FsLogix Cloud Cache feature enable and configured using 2 SMB file shares on differ...
Doman64
Mar 28, 2023Copper Contributor
A few things you may want to check out:
-Update to the latest version of FSlogix as there's a few bugs that have been fixed
-You may want to turn on the GPOs "Prevent Login with Failure" and "Prevent Login with Temp Profile", while this may cause errors anway, at least your users won't log in with a local profile
-We are using VMware Horizon with Instant Clones and Cloud Cache configuration. The new FSLogix compaction feature is on by default and doesn't work well with Cloud Cache. It works well with a single server setup. You may want to turn it off until Microsoft properly supports Cloud Cache with VHDX compaction. You can read here that there's a possibility of "poor user experience" https://learn.microsoft.com/en-us/fslogix/troubleshooting-vhd-disk-compaction#how-does-disk-compaction-work-with-cloud-cache
In our case it simply doesn't work. In your case, it may significantly reduce the sign-out time and the .LOCK release.
-Update to the latest version of FSlogix as there's a few bugs that have been fixed
-You may want to turn on the GPOs "Prevent Login with Failure" and "Prevent Login with Temp Profile", while this may cause errors anway, at least your users won't log in with a local profile
-We are using VMware Horizon with Instant Clones and Cloud Cache configuration. The new FSLogix compaction feature is on by default and doesn't work well with Cloud Cache. It works well with a single server setup. You may want to turn it off until Microsoft properly supports Cloud Cache with VHDX compaction. You can read here that there's a possibility of "poor user experience" https://learn.microsoft.com/en-us/fslogix/troubleshooting-vhd-disk-compaction#how-does-disk-compaction-work-with-cloud-cache
In our case it simply doesn't work. In your case, it may significantly reduce the sign-out time and the .LOCK release.
Dmitry_Malyshev
Apr 07, 2023Copper Contributor
I have tested the latest version FSLogix 2210 hotfix 1 (2.9.8440.42104) and seems like they fixed the behavior.
Currently Flogix is trying to attach VHDX even if it Locked by another machine according to these settings LockedRetryCount and LockedRetryInterval.
In this case it is suitable for me so far.
Thank you
Log file for example
[07:42:43.283][tid:000011f0.00003bf0][ERROR:000000a7] Operation 'AcquireExclusiveLock' failed. Retrying 0 time(s) at 0 second intervals (Unable to lock a region of a file.)
[07:42:43.287][tid:000011f0.00003bf0][INFO] Configuration Read (DWORD): SOFTWARE\FSLogix\Profiles\LockedRetryCount. Data: 7
[07:42:43.287][tid:000011f0.00003bf0][INFO] Configuration Read (DWORD): SOFTWARE\FSLogix\Profiles\LockedRetryInterval. Data: 3
[07:42:43.320][tid:000011f0.00003bf0][ERROR:000000a7] Operation 'AcquireSharedReaderLock' failed. Retrying 7 time(s) at 3 second intervals (Unable to lock a region of a file.)
[07:42:46.321][tid:000011f0.00003bf0][INFO] Retrying operation 'AcquireSharedReaderLock' 1/7
[07:42:49.356][tid:000011f0.00003bf0][INFO] Retrying operation 'AcquireSharedReaderLock' 2/7
[07:42:49.381][tid:000011f0.00003bf0][INFO] Operation 'AcquireSharedReaderLock' was successful
[07:42:49.386][tid:000011f0.00003bf0][INFO] DiskContext::lockWithStrategy returning after 6172 milliseconds
[07:42:49.591][tid:000011f0.00003bf0][INFO] Profile VHD Path: D:\ProgramData\FSLogix\Proxy\userName\Profile_UserName.VHDX
Currently Flogix is trying to attach VHDX even if it Locked by another machine according to these settings LockedRetryCount and LockedRetryInterval.
In this case it is suitable for me so far.
Thank you
Log file for example
[07:42:43.283][tid:000011f0.00003bf0][ERROR:000000a7] Operation 'AcquireExclusiveLock' failed. Retrying 0 time(s) at 0 second intervals (Unable to lock a region of a file.)
[07:42:43.287][tid:000011f0.00003bf0][INFO] Configuration Read (DWORD): SOFTWARE\FSLogix\Profiles\LockedRetryCount. Data: 7
[07:42:43.287][tid:000011f0.00003bf0][INFO] Configuration Read (DWORD): SOFTWARE\FSLogix\Profiles\LockedRetryInterval. Data: 3
[07:42:43.320][tid:000011f0.00003bf0][ERROR:000000a7] Operation 'AcquireSharedReaderLock' failed. Retrying 7 time(s) at 3 second intervals (Unable to lock a region of a file.)
[07:42:46.321][tid:000011f0.00003bf0][INFO] Retrying operation 'AcquireSharedReaderLock' 1/7
[07:42:49.356][tid:000011f0.00003bf0][INFO] Retrying operation 'AcquireSharedReaderLock' 2/7
[07:42:49.381][tid:000011f0.00003bf0][INFO] Operation 'AcquireSharedReaderLock' was successful
[07:42:49.386][tid:000011f0.00003bf0][INFO] DiskContext::lockWithStrategy returning after 6172 milliseconds
[07:42:49.591][tid:000011f0.00003bf0][INFO] Profile VHD Path: D:\ProgramData\FSLogix\Proxy\userName\Profile_UserName.VHDX