question

HannuS-9620 avatar image
0 Votes"
HannuS-9620 asked TravisCragg-MSFT answered

Container Instance mounted file share does not show all files for Linux image depending size of allocated memory

I have linux image that provides predictions as service. We have predictions stored as files in mounted Azure file share.
Linux image use maximum 2 G of memory. Even in Azure it doesnt seem to need more. Locally in docker it allocates less than 1G.

But for a some reason depending on memory that we allocate to image dictates whether all files are available to linux image.
If I create container instance with 1 cpu and 12 G of memory all files are available.... although image does not need it... If I create instance with less than 12 G's of memory some of the files arent available and we get file not found errors in service.

Anyone has any clue what could cause this?

azure-filesazure-container-instances
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TravisCragg-MSFT avatar image
0 Votes"
TravisCragg-MSFT answered

This is a strange one, and will require an in-depth look at your environment. To go forward with this, your best bet is to create a support request with Azure Support. If you do not have a support plan but would like to make a support request, please let me know.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.