[condor] Update to add systemd cgroup settings
tstclair
tstclair at fedoraproject.org
Thu Feb 13 18:55:16 UTC 2014
commit 0b88753086caf2fa62201790dc63f866dd4e9d53
Author: Timothy St. Clair <tstclair at redhat.com>
Date: Thu Feb 13 12:55:52 2014 -0600
Update to add systemd cgroup settings
condor.service | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/condor.service b/condor.service
index 6e0aca3..f39c3e7 100644
--- a/condor.service
+++ b/condor.service
@@ -13,7 +13,24 @@ Restart=always
RestartSec=5
StandardOutput=syslog
LimitNOFILE=16384
+
+#######################################
+# Note: Below are cgroup options
+#######################################
#Slice=condor
+#CPUAccounting=true
+#CPUShares=1024
+
+#MemoryAccounting=true
+#TBD: MemoryLimit=bytes, MemorySoftLimit=bytes
+
+#BlockIOAccounting=true
+#BlockIOWeight=??
+#BlockIODeviceWeight=??
+#TBD: BlockIOReadBandwidth=bytes, BlockIOWriteBandwidth=bytes
+
+#DeviceAllow=
+#DevicePolicy=auto|closed|strict
[Install]
WantedBy=multi-user.target
More information about the scm-commits
mailing list