Re: memory.limit_in_bytes: systemd vs lxc

2017-07-25 Thread Fungi4All
> From: jode...@gmail.com > To: Harald Dunkel > debian-user@lists.debian.org > On 25-07-17, Harald Dunkel wrote: >> Hi Dejan, >> >> On Mon, 24 Jul 2017 09:43:30 +0200 >> Dejan Jocic wrote: >> >> > On 24-07-17, Harald Dunkel wrote: >> > > >> > >

Re: memory.limit_in_bytes: systemd vs lxc

2017-07-25 Thread Dejan Jocic
On 25-07-17, Harald Dunkel wrote: > Hi Dejan, > > On Mon, 24 Jul 2017 09:43:30 +0200 > Dejan Jocic wrote: > > > On 24-07-17, Harald Dunkel wrote: > > > > > > Apparently systemd ignores the restricted memory. How can I tell > > > systemd to keep the limits? > > > > > > > >

Re: memory.limit_in_bytes: systemd vs lxc

2017-07-25 Thread Harald Dunkel
Hi Dejan, On Mon, 24 Jul 2017 09:43:30 +0200 Dejan Jocic wrote: > On 24-07-17, Harald Dunkel wrote: > > > > Apparently systemd ignores the restricted memory. How can I tell > > systemd to keep the limits? > > > > > > Every helpful comment is highly appreciated > > Harri >

Re: memory.limit_in_bytes: systemd vs lxc

2017-07-24 Thread Dejan Jocic
On 24-07-17, Harald Dunkel wrote: > Hi folks, > > I have to restrict memory.limit_in_bytes to 16GByte for my LXC > containers. Problem: The containers based on Stretch and systemd > show > > % for i in $(find /sys/fs/cgroup/memory/lxc/lxc1 -name > memory.limit_in_bytes); do \ > echo $i

memory.limit_in_bytes: systemd vs lxc

2017-07-24 Thread Harald Dunkel
Hi folks, I have to restrict memory.limit_in_bytes to 16GByte for my LXC containers. Problem: The containers based on Stretch and systemd show % for i in $(find /sys/fs/cgroup/memory/lxc/lxc1 -name memory.limit_in_bytes); do \ echo $i $(cat $i) \ done | column -t