Skip to content

UI does not display memory usage #2728

@StekPerepolnen

Description

@StekPerepolnen
Image

nodes page

The backend provides MemoryUsed for the node, and this value is even used in the progress bar (22 GB), but the tooltip shows "Memory Used = 0". Maybe it makes sense to insert the same value there as well to avoid the contradiction?

UI 9.6.3
/viewer/json/nodes - 13 version
could return information about node with "MemoryUsed" info but no "MemoryLimit" info

example

{
    "NodeId": 50003,
    "Database": "/cluster/s3",
    "UptimeSeconds": 281246,
    "CpuUsage": 0.0100444,
    "SystemState": {
        "StartTime": "1755247339022",
        "ChangeTime": "1755528584349",
        "LoadAverage": [
            2.868164063,
            3.361816406,
            3.517578125
        ],
        "NumberOfCpus": 80,
        "SystemState": "Green",
        "NodeId": 50003,
        "Host": "host",
        "Version": "24.4.4.11.9-stream-nb-24-4.073e312",
        "PoolStats": [
            {
                "Name": "System",
                "Usage": 0.006661995831,
                "Threads": 6,
                "Limit": 16
            },
            {
                "Name": "User",
                "Usage": 0.003223980864,
                "Threads": 15,
                "Limit": 32
            },
            {
                "Name": "Batch",
                "Usage": 0.002224679449,
                "Threads": 4,
                "Limit": 9
            },
            {
                "Name": "IO",
                "Usage": 0.0007329043827,
                "Threads": 1,
                "Limit": 1
            },
            {
                "Name": "IC",
                "Usage": 0.005681654738,
                "Threads": 7,
                "Limit": 16
            }
        ],
        "Endpoints": [
            {
                "Name": "http-mon",
                "Address": ":8765"
            },
            {
                "Name": "ic",
                "Address": ":19001"
            },
            {
                "Name": "grpcs",
                "Address": ":2135"
            }
        ],
        "Roles": [
            "Tenant"
        ],
        "Tenants": [
            "/cluster/s3"
        ],
        "MemoryUsed": "22385561600",
        "Location": {},
        "TotalSessions": 1,
        "CoresUsed": 0.3214208162,
        "CoresTotal": 32
    },
    "Tablets": [
        {
            "Type": "DataShard",
            "State": "Green",
            "Count": 4178
        },
        {
            "Type": "SysViewProcessor",
            "State": "Green",
            "Count": 1
        }
    ]
},

expected: UI shows
"Memory Used" value > 0
"Memory limit" doesn't show

result: UI shows
"Memory Used" = 0
"Memory limit" = 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions