From ba3caa886da2d5c457d47173d6aa9e780b795902 Mon Sep 17 00:00:00 2001
From: Clark Boylan <clark.boylan@gmail.com>
Date: Mon, 9 Jul 2012 16:10:52 -0700
Subject: [PATCH] Add jenkins:sshd to unlimited cgroup.

Jenkins slaves use ssh to communicate with the master node. The
sshd process used to perform this communication should be in the same
unlimited cgroup as jenkins:java. Make it so.

This protects the sshd process from running into limits and gives
the tests a little more headroom as the sshd process won't count
against the tests' limits.

Change-Id: I4a047a2d018f80a64d5f0495f5c57d125fe1119f
---
 modules/jenkins_slave/files/cgroups/cgrules.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/jenkins_slave/files/cgroups/cgrules.conf b/modules/jenkins_slave/files/cgroups/cgrules.conf
index fa8fd63353..03c05d9b9a 100644
--- a/modules/jenkins_slave/files/cgroups/cgrules.conf
+++ b/modules/jenkins_slave/files/cgroups/cgrules.conf
@@ -1,2 +1,3 @@
 jenkins:java memory /jenkins
+jenkins:sshd memory /jenkins
 jenkins      memory /jenkins/children