Re: [systemd-devel] Running containers under freezer

2021-05-09 Thread Bhasker C V
Perfect ! that exactly is what i was looking for. ! fantastic ! On Tue, Apr 6, 2021 at 5:24 PM Lennart Poettering wrote: > On Fr, 02.04.21 20:22, Bhasker C V (bhas...@unixindia.com) wrote: > > > Hi, > > Please could someone help ? > > > > I want my containers

[systemd-devel] Running containers under freezer

2021-04-02 Thread Bhasker C V
Hi, Please could someone help ? I want my containers to run inside a freezer cgroup so that I can freeze and thaw the container as and when needed. I use the command systemd-nspawn [...] --slice=bhasker.slice and systemd creates bhasker.slice and puts everything under it. The slice however i

Re: [systemd-devel] systemd slice and PIDs under it

2019-11-04 Thread Bhasker C V
Wow ! thanks I am able to see memory throttled. Now for CPU and freezer controllers. On 04/11/2019 11:17, Lennart Poettering wrote: > On Mo, 04.11.19 11:13, Bhasker C V (bhas...@unixindia.com) wrote: > >> Hi all, >> >>  Does the PIDs running inside the systemd-nspawn sli

[systemd-devel] systemd slice and PIDs under it

2019-11-04 Thread Bhasker C V
under the systemctl status for that scope ) are only using 6.9M in total. How much ever processes I start, they do not seem to have any effect on the "Memory: 6.9M" Am I missing something ? Please correct me. Thanks. Regards Bhasker C V _

Re: [systemd-devel] systemd put it uinder a custom slice

2019-11-01 Thread Bhasker C V
On 01/11/2019 10:03, Lennart Poettering wrote: > On Fr, 01.11.19 09:32, Bhasker C V (bhas...@unixindia.com) wrote: > >> I am really sorry but I am still not able to get this working with a >> 'name' in slice. Is there a naming convention to be used for the name >&g

Re: [systemd-devel] systemd put it uinder a custom slice

2019-11-01 Thread Bhasker C V
On 01/11/2019 09:20, Lennart Poettering wrote: > On Fr, 01.11.19 08:59, Bhasker C V (bhas...@unixindia.com) wrote: > >>> systemd owns the cgroup tree, only subtrees for which delegation is >>> explicitly turned on can be managed by other programs, for example for >

Re: [systemd-devel] systemd put it uinder a custom slice

2019-11-01 Thread Bhasker C V
On 31/10/2019 11:02, Lennart Poettering wrote: > On Mi, 30.10.19 11:08, Bhasker C V (bhas...@unixindia.com) wrote: > >> Hi all, >> >>  I have been googl-ing for a few days now but could not stumble upon a >> solution I am looking for. >> >> Apologies if

[systemd-devel] systemd put it uinder a custom slice

2019-10-30 Thread Bhasker C V
use it in systemd-nspawn (without using unit files) Please could someone help ? Thanks -- Bhasker C V Secure Mails: http://pgp.mit.edu/pks/lookup?op=get&search=0x4D05FEEC54E47413 Registered Linux User: #306349 ___ systemd-devel mailing list

[systemd-devel] MAC address of host0 interface for --network-bridge

2017-03-15 Thread Bhasker C V
constant but does this get auto-generated ? if yes, is there a chance for this MAC to change ? Thanks Bhasker C V ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] Adding controllers

2017-03-02 Thread Bhasker C V
Hi, I tried to look for information but could not get any. I have created a systemd unit which runs systemd-nspawn of my local ubuntu rootfs. The unit has values to restrict cpu, memory etc., [Unit] Description=ubuntu After=network.target [Service] Type=simple ExecStart=/usr/bin/systemd-