Closed
Description
Nomad version
1.8.3
Operating system and Environment details
Ubuntu 22.04, kernel version 6.5.0-35-generic
Issue
Wrong memory utilization is displayed in UI and in Nomad metrics for the post-start sidecar tasks, which work with the filesystem.
Total job memory usage
Poststart sidecar task memory usage
Real memory usage
docker stats a9481fb2f57d --no-stream
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
a9481fb2f57d backup-9d2f286d-a117-d31a-0e41-67c997fe08d4 0.00% 15.22MiB / 1GiB 1.49% 0B / 0B 0B / 952MB 4
Reproduction steps
Create the poststart sidecar container, working in cmd loop with fs write operations or connect to task manually and create a file on /alloc mount point.
Expected Result
No memory consumption affected
Actual Result
Every file created increases RAM utilization by its size, real utilization is different.
Metadata
Metadata
Assignees
Type
Projects
Status
Done