[email protected] (Trent W. Buck)
writes:

>> OR, I could put every service in a cgroup and have systemd
>> automagically know what belongs with what with no extra effort.
>> *dusts hands*
>
> The kernel has an option to automatically put stuff into cgroups.
> Anybody know if that is useful in such a context?
> IIRC it was targeted only at separate cgroups for each GUI login.

Ah, it was what I thought it was (via Craig's link):

"But you don’t have to move a finger to get this benefit, the kernel
already does that if you have CONFIG_SCHED_AUTOGROUP, which you should."
https://felipec.wordpress.com/tag/sysvinit/

And a quick poke like <below> shows that Debian does it by default:

    # for i in /proc/*/exe;
      do echo "$(cat "${i%exe}autogroup")" "$(readlink "$i")";
      done | sort -u | column -t

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to