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>
ProtectHome=true
ProtectSystem=full
PrivateTmp=true
+TasksMax=infinity
[Install]
WantedBy=ceph-mds.target
ProtectHome=true
ProtectSystem=full
PrivateTmp=true
+TasksMax=infinity
[Install]
WantedBy=ceph-mon.target
ProtectHome=true
ProtectSystem=full
PrivateTmp=true
+TasksMax=infinity
[Install]
WantedBy=ceph-osd.target
ProtectHome=true
ProtectSystem=full
PrivateTmp=true
+TasksMax=infinity
[Install]
WantedBy=ceph-radosgw.target
Restart=on-failure
StartLimitInterval=30min
StartLimitBurst=3
+TasksMax=infinity
[Install]
WantedBy=ceph-rbd-mirror.target