diff --git a/container/libcontainer/helpers.go b/container/libcontainer/helpers.go index 560d8eb6..f2ceb2b7 100644 --- a/container/libcontainer/helpers.go +++ b/container/libcontainer/helpers.go @@ -193,7 +193,7 @@ func toContainerStats2(s *cgroups.Stats, ret *info.ContainerStats) { workingSet -= v } - if v, ok := s.MemoryStats.Stats["total_active_file"]; ok { + if v, ok := s.MemoryStats.Stats["total_inactive_file"]; ok { if workingSet < v { workingSet = 0 } else {