Bug#1026793: docker.io: --memory-swap not enforced on systemd cgroup driver

2023-01-11 Thread Saj Goonatilleke
Hi Shengjing, On 7 Jan 2023, at 6:48, Saj Goonatilleke wrote: > You are right: something is missing from the original report. > Now I am unable to reproduce the problem on the same machine > that first exhibited the problem. > > I have reinstated our production experiment using the same config

Bug#1026793: docker.io: --memory-swap not enforced on systemd cgroup driver

2023-01-06 Thread Saj Goonatilleke
Hi Shengjing, On 2 Jan 2023, at 6:44, Shengjing Zhu wrote: > Can't reproduce it on bullseye as well. You are right: something is missing from the original report. Now I am unable to reproduce the problem on the same machine that first exhibited the problem. Either this is a case of user error

Bug#1026793: docker.io: --memory-swap not enforced on systemd cgroup driver

2023-01-01 Thread Shengjing Zhu
Control: tag -1 unreproducible moreinfo On Mon, Jan 2, 2023 at 3:17 AM Shengjing Zhu wrote: > > Hi, > > On Wed, Dec 21, 2022 at 4:45 PM Saj Goonatilleke wrote: > > --- 8< --- > > # systemctl show docker-container-id.scope | awk -F = '$1 ~ /Memory.*Max/' > > MemoryMax=25165824 > >

Bug#1026793: docker.io: --memory-swap not enforced on systemd cgroup driver

2023-01-01 Thread Shengjing Zhu
Hi, On Wed, Dec 21, 2022 at 4:45 PM Saj Goonatilleke wrote: > --- 8< --- > # systemctl show docker-container-id.scope | awk -F = '$1 ~ /Memory.*Max/' > MemoryMax=25165824 > MemorySwapMax=infinity > --- >8 --- > > From the cgroup: > > --- 8< --- > # cat memory.swap.max > max > > # cat

Bug#1026793: docker.io: --memory-swap not enforced on systemd cgroup driver

2023-01-01 Thread Shengjing Zhu
Control: reassign runc 1.0.0~rc93+ds1-5+deb11u2 On Wed, Dec 21, 2022 at 4:45 PM Saj Goonatilleke wrote: > > Package: docker.io > Version: 20.10.5+dfsg1-1+deb11u1 > Severity: normal > > Hello, > > https://docs.docker.com/config/containers/resource_constraints/#limit-a-containers-access-to-memory

Bug#1026793: docker.io: --memory-swap not enforced on systemd cgroup driver

2022-12-21 Thread Saj Goonatilleke
Package: docker.io Version: 20.10.5+dfsg1-1+deb11u1 Severity: normal Hello, https://docs.docker.com/config/containers/resource_constraints/#limit-a-containers-access-to-memory --memory-swap imparts no effect. --memory does impart an effect, but is useless without --memory-swap. Anon pages will