]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Drop any systemd imposed process/thread limits 8450/head
authorJames Page <james.page@ubuntu.com>
Tue, 5 Apr 2016 16:32:59 +0000 (17:32 +0100)
committerJames Page <james.page@ubuntu.com>
Tue, 5 Apr 2016 16:33:57 +0000 (17:33 +0100)
If systemd has task accounting enabled, a default of 512 tasks
will be applied to all systemd units.

For ceph, this is way to low even for a modest cluster, so stop
this restriction being applied and allow administrators to apply
limits using sysctl.

Signed-off-by: James Page <james.page@ubuntu.com>
systemd/ceph-mds@.service
systemd/ceph-mon@.service
systemd/ceph-osd@.service
systemd/ceph-radosgw@.service
systemd/ceph-rbd-mirror@.service

index e12258058c74bbf6ec6b6d976a0b004e19aa907d..f13cef4428e76a7192450d00927c13e848189492 100644 (file)
@@ -15,6 +15,7 @@ PrivateDevices=yes
 ProtectHome=true
 ProtectSystem=full
 PrivateTmp=true
+TasksMax=infinity
 
 [Install]
 WantedBy=ceph-mds.target
index a8d427b5ab5ee862a9f23407810c608aacb538f9..b9501d630dcfbd64edc0afb77a2e58cc8b439a89 100644 (file)
@@ -21,6 +21,7 @@ PrivateDevices=yes
 ProtectHome=true
 ProtectSystem=full
 PrivateTmp=true
+TasksMax=infinity
 
 [Install]
 WantedBy=ceph-mon.target
index 0d73afbbbf224f572f2061ec2ff439613615b2cd..1778db704e8785941f7f69dd205d69ad8fd9543e 100644 (file)
@@ -15,6 +15,7 @@ ExecReload=/bin/kill -HUP $MAINPID
 ProtectHome=true
 ProtectSystem=full
 PrivateTmp=true
+TasksMax=infinity
 
 [Install]
 WantedBy=ceph-osd.target
index 66d9eb85a2d96413d6aa5dc649caefddb7507b51..cfa5788477047c536439cbf53302e27e957a3ce2 100644 (file)
@@ -14,6 +14,7 @@ PrivateDevices=yes
 ProtectHome=true
 ProtectSystem=full
 PrivateTmp=true
+TasksMax=infinity
 
 [Install]
 WantedBy=ceph-radosgw.target
index 4c2e2f060beb00299ffc7ac53985a8cb44373c3d..d38aec524e8d6811b91378a7aefc38b38dcc1132 100644 (file)
@@ -17,6 +17,7 @@ PrivateTmp=true
 Restart=on-failure
 StartLimitInterval=30min
 StartLimitBurst=3
+TasksMax=infinity
 
 [Install]
 WantedBy=ceph-rbd-mirror.target