Z
Zerops4w ago
Dally

Stopped service has allocated cores and memory

I have a service which is in stopped state, but the dashboards reports that it has some RAM and cores allocated, is this a visual bug?
No description
5 Replies
Aleš
Aleš4w ago
@Michal Saloň
Michal Saloň
Michal Saloň4w ago
I think this is probably FE issue. Value shown on FE is from
{
"from": "2025-01-01T21:00:00+01:00",
"till": "2025-01-01T21:59:59+01:00",
"projectId": "xxx",
"serviceStackId": "yyy",
"serviceId": "zzz",
"containerId": null,
"containerCount": 1,
"cpuLimit": 0,
"cpuUsed": 0,
"vCpuLimit": 1,
"vCpuUsed": 0.004,
"ramLimit": 0.25,
"ramUsed": 0.088,
"diskLimit": 1,
"diskUsed": 0.003
},
{
"from": "2025-01-01T21:00:00+01:00",
"till": "2025-01-01T21:59:59+01:00",
"projectId": "xxx",
"serviceStackId": "yyy",
"serviceId": "zzz",
"containerId": null,
"containerCount": 1,
"cpuLimit": 0,
"cpuUsed": 0,
"vCpuLimit": 1,
"vCpuUsed": 0.004,
"ramLimit": 0.25,
"ramUsed": 0.088,
"diskLimit": 1,
"diskUsed": 0.003
},
Next hour (22:00 to 22:59) also has some data, but all data afterwards return 0 (except for disk ofc). Could it be that FE is showing data from first item in the list instead of the last one?
Aleš
Aleš4w ago
@Michal Saloň this is using current-stats tho
Michal Saloň
Michal Saloň4w ago
Could you, please, try to start and then stop the container? I have added error logging to location where stats are stored and it could have happened that last value sent errored out for some reason and system will not send new metrics if they haven't changed (which ofc does not happen with a stopped container).
Dally
DallyOP4w ago
Done!

Did you find this page helpful?