diff options
author | James Page <james.page@ubuntu.com> | 2016-04-05 18:32:59 +0200 |
---|---|---|
committer | James Page <james.page@ubuntu.com> | 2016-04-05 18:33:57 +0200 |
commit | 05cafcf19fb80dd2a76fdbbe5329bae53aa0def4 (patch) | |
tree | db00b1bb493c9ed2e7575287e8f3fe5ae14b0ca1 /systemd | |
parent | Merge pull request #8131 from ErwanAliasr1/evelu-fast-check (diff) | |
download | ceph-05cafcf19fb80dd2a76fdbbe5329bae53aa0def4.tar.xz ceph-05cafcf19fb80dd2a76fdbbe5329bae53aa0def4.zip |
Drop any systemd imposed process/thread limits
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>
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/ceph-mds@.service | 1 | ||||
-rw-r--r-- | systemd/ceph-mon@.service | 1 | ||||
-rw-r--r-- | systemd/ceph-osd@.service | 1 | ||||
-rw-r--r-- | systemd/ceph-radosgw@.service | 1 | ||||
-rw-r--r-- | systemd/ceph-rbd-mirror@.service | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/systemd/ceph-mds@.service b/systemd/ceph-mds@.service index e12258058c7..f13cef4428e 100644 --- a/systemd/ceph-mds@.service +++ b/systemd/ceph-mds@.service @@ -15,6 +15,7 @@ PrivateDevices=yes ProtectHome=true ProtectSystem=full PrivateTmp=true +TasksMax=infinity [Install] WantedBy=ceph-mds.target diff --git a/systemd/ceph-mon@.service b/systemd/ceph-mon@.service index a8d427b5ab5..b9501d630dc 100644 --- a/systemd/ceph-mon@.service +++ b/systemd/ceph-mon@.service @@ -21,6 +21,7 @@ PrivateDevices=yes ProtectHome=true ProtectSystem=full PrivateTmp=true +TasksMax=infinity [Install] WantedBy=ceph-mon.target diff --git a/systemd/ceph-osd@.service b/systemd/ceph-osd@.service index 0d73afbbbf2..1778db704e8 100644 --- a/systemd/ceph-osd@.service +++ b/systemd/ceph-osd@.service @@ -15,6 +15,7 @@ ExecReload=/bin/kill -HUP $MAINPID ProtectHome=true ProtectSystem=full PrivateTmp=true +TasksMax=infinity [Install] WantedBy=ceph-osd.target diff --git a/systemd/ceph-radosgw@.service b/systemd/ceph-radosgw@.service index 66d9eb85a2d..cfa57884770 100644 --- a/systemd/ceph-radosgw@.service +++ b/systemd/ceph-radosgw@.service @@ -14,6 +14,7 @@ PrivateDevices=yes ProtectHome=true ProtectSystem=full PrivateTmp=true +TasksMax=infinity [Install] WantedBy=ceph-radosgw.target diff --git a/systemd/ceph-rbd-mirror@.service b/systemd/ceph-rbd-mirror@.service index 4c2e2f060be..d38aec524e8 100644 --- a/systemd/ceph-rbd-mirror@.service +++ b/systemd/ceph-rbd-mirror@.service @@ -17,6 +17,7 @@ PrivateTmp=true Restart=on-failure StartLimitInterval=30min StartLimitBurst=3 +TasksMax=infinity [Install] WantedBy=ceph-rbd-mirror.target |