Default task limit from systemd is too low for ceph
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
When started via systemd, there is a default limit of 512 Tasks, and it seems that each thread counts as a different task:
# systemctl status ceph-osd@2
* ceph-osd@2.service - Ceph object storage daemon
Loaded: loaded (/lib/systemd/
Active: active (running) since Fri 2016-04-01 13:23:58 UTC; 12s ago
Process: 31618 ExecStartPre=
Main PID: 31667 (ceph-osd)
Tasks: 150 (limit: 512)
CGroup: /system.
`-31667 /usr/bin/ceph-osd -f --cluster ceph --id 2 --setuser ceph --setgroup ceph
With larger clusters, ceph-osd may need more threads, so this limit should be raised in the service definition.
This may also affect ceph-mon or ceph-mds.
I just found out that the limit is not applied after a reboot, it appears that this only happens when the service is (re-)started manually from the shell.