max connections per control group (cgroup)
Lennart Poettering
mzqohf at 0pointer.de
Wed Aug 13 10:13:28 PDT 2014
On Thu, 07.08.14 19:02, Colin Walters (walters at verbum.org) wrote:
>
> On Thu, Aug 7, 2014, at 09:32 AM, Alban Crequy wrote:
> >
> > Should it instead consider the following path?
> > /user.slice/user-1000.slice/user at 1000.service
>
> I think one up from that even - user at 1000.service is the systemd --user,
> which is only one process among many of the login slice.
>
> Stated another way, we want to limit per user-<X>.slice.
Note that the precise formatting of the cgroup paths is something that
might change. We changed it a couple of times already to accomodate for
escaping and stuff. THe only way to acecss this is via sd_pid_get_unit()
and sd_pid_get_slice() really...
Lennart
--
Lennart Poettering, Red Hat
More information about the dbus
mailing list