Citrix App layering - Elastic Application layers may fail to get attached intermittently

book

Article ID: CTX695862

calendar_today

Updated On:

Description

In Azure environment, administrator may notice that some of the elastic application layers fail to get attached in the Layered VDIs.

Event logs on the VDI may show the following error:

Source: Citrix Layering Service
Event ID: 1310
Message: Encountered error attaching the disk for layer <layername> version <versionInfo>.Layer version will not be attached.

Ulayersvc.log on the VDI might show the following pattern:

INFO 5 LayerAttachService: Attaching <NameOfTheLayer> with 3 tries
INFO 5 VirtualDiskService: Attaching virtual disk <AzureVHDFilePath>
ERROR 4 NativeMethodLogger: Failed to open virtual disk <AzureVHDFilePath> with access 'Read': Error code 1816
ERROR 4 ComponentActivatorExceptionInterceptor: Method 'Open' returned error Not enough quota is available to process this command.

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Cause

The default handle quota for the Azure File share where the Elastic layers are stored is insufficient for the user load.

Resolution

Increasing the Azure share handle Quota limit should fix the issue. 

Reference: https://learn.microsoft.com/en-us/azure/storage/files/smb-performance?tabs=portal#register-for-increased-file-handle-limits-preview 

Issue/Introduction

In Azure environment, administrator may notice that some of the elastic application layers fail to get attached in the Layered VDIs