From db9fcb03f480a13bb7cbe7245e9e0b9315a43df3 Mon Sep 17 00:00:00 2001 From: Lang Martin Date: Wed, 24 Jul 2019 11:57:52 -0400 Subject: [PATCH] docs for linux raw_exec cgroups --- website/source/docs/drivers/raw_exec.html.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/source/docs/drivers/raw_exec.html.md b/website/source/docs/drivers/raw_exec.html.md index 580223a58..b6eac1ef0 100644 --- a/website/source/docs/drivers/raw_exec.html.md +++ b/website/source/docs/drivers/raw_exec.html.md @@ -107,8 +107,10 @@ client { * `no_cgroups` - Specifies whether the driver should not use cgroups to manage the process group launched by the driver. By default, cgroups are used to manage the process tree to ensure full cleanup of all - processes started by the task. The driver only uses cgroups when Nomad is - launched as root, on Linux and when cgroups are detected. + processes started by the task. The driver uses cgroups by default on + Linux and when `/sys/fs/cgroup/freezer/nomad` is writable for the + Nomad process. Using a cgroup significantly reduces Nomad's CPU + usage when collecting process metrics. ## Client Options