Re: Used memory calculation in containers - docker stats and file cache

2024-11-04 Thread Peter J. Holzer
On 2024-11-04 14:35:23 +0100, Costa Alexoglou wrote: > > I don't know if Docker does anything strange here. > > I am not sure if this is docker specific or cgroup comes into play.  > The measurement is implemented in docker CLI, but I would make the > assumption that the eviction is done within th

Re: Used memory calculation in containers - docker stats and file cache

2024-11-04 Thread Costa Alexoglou
> I don't know if Docker does anything strange here. I am not sure if this is docker specific or cgroup comes into play. The measurement is implemented in docker CLI, but I would make the assumption that the eviction is done within the cgroup scope. > A large file (or many smaller files) which is

Re: Used memory calculation in containers - docker stats and file cache

2024-11-01 Thread Peter J. Holzer
On 2024-10-27 16:23:44 +0100, Costa Alexoglou wrote: > The container limit was 16GB of RAM, and as soon as this limit was reached, > there was no restart or OOM errors, rather than a huge drop in memory (image > `ContainerRelativeAbsolute`). [...] > 2. What is happening on the OS level when suddenl