Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MemoryUsage.WorkingSetBytes should take total_inactive_file into consideration #3106

@AkihiroSuda

Description

@AkihiroSuda

containerd/CRI defines workingset as usage - total_inactive_file:

https://github.com/containerd/cri/blob/982e767745a9b0c8ea5f82d9795ab3c37f21c0f5/pkg/server/container_stats_list_unix.go#L84-L96

OTOH, CRI-O doesn't seem taking total_inactive_file into consideration:

WorkingSetBytes: &pb.UInt64Value{Value: stats.MemUsage},

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