BatchExplorer icon indicating copy to clipboard operation
BatchExplorer copied to clipboard

The memory information is incorrect

Open xingwu1 opened this issue 5 years ago • 6 comments

Describe the bug Customer reports when he used explorer, the memory information is wrong.

To Reproduce Customer is using f2s_v2 series VM which should have 4 GB memory but it shows to be only 1.27 GB.

Expected behavior The total memory should be 4GB.

Screenshots image

xingwu1 avatar Jun 14 '19 20:06 xingwu1

I see this is using container vm image. Could this be run inside the container and it only has access to a subset of the memory?

timotheeguerin avatar Jun 14 '19 20:06 timotheeguerin

I don't think so. Since batch-insight is running on host. Yes?

xingwu1 avatar Jun 14 '19 20:06 xingwu1

Its running wherever the user starts it. if the start task is running in a container it will run in a container

timotheeguerin avatar Jun 14 '19 20:06 timotheeguerin

Unless this is displaying the information when the start task is running. Otherwise, the container dead after start task finished. Any, I can double check with customer.

xingwu1 avatar Jun 14 '19 20:06 xingwu1

I just tried same os and vm size and I get the right value, not sure what else could be wrong image

timotheeguerin avatar Jun 14 '19 20:06 timotheeguerin

Could he try running the following query in application insights? See if thats an issue with the upload or Batch Epxlorer displaying it

customMetrics
| where timestamp >= ago(10m)
| where name == "Memory used" or name == "Memory available"
| where cloud_RoleName == "standard"

timotheeguerin avatar Jun 14 '19 20:06 timotheeguerin