Hello,
On Sun, Jul 17, 2016 at 11:03:38PM +0300, Topi Miettinen wrote:
> +static void pids_update_highwater_mark(struct pids_cgroup *p)
> +{
> + while (1) {
> + int64_t old_mark, new_mark, cur_mark;
> +
> + old_mark = atomic64_read(&p->highwater_mark);
> + n
Track maximum number of processes in cgroup, to be able to configure
cgroup pids limits. The information is available in cgroup FS as file
pids.highwater_mark.
Example case demonstrating how to use the figure for systemd configuration:
root@debian:~# cat
/sys/fs/cgroup/system.slice/systemd-timesy
2 matches
Mail list logo