[Bug 1564917] Re: Default task limit from systemd is too low for ceph

Launchpad Bug Tracker 1564917 at bugs.launchpad.net
Wed Apr 6 20:21:28 UTC 2016


This bug was fixed in the package ceph - 10.1.0-0ubuntu1

---------------
ceph (10.1.0-0ubuntu1) xenial; urgency=medium

  * New upstream release candidate for Ceph Jewel
    (see http://pad.lv/1563714 for FFe):
    - d/control,rules,librgw*: Add new binary packages for librgw2.
    - d/p/fix-systemd-escaping.patch,pybind-flags.patch: Dropped,
      included upstream.
    - d/p/*: Refresh remaining patches.
    - d/control: Add BD on libldap2-dev for rados gateway.
    - d/p/disable-openssl-linking.patch: Disable build time linking
      with OpenSSL due to licensing incompatibilities.
    - d/*.symbols: Add new symbols for RC.
    - d/python-*.install: Correct wildcards for python module install.
    - d/p/32bit-compat.patch: Cherry pick upstream fix for 32 bit
      compatibility, resolving FTBFS on armhf/i386.
  * d/rules: Strip rbd-mirror package correctly.
  * d/rules: Install upstart and systemd configurations for rbd-mirror.
  * d/copyright: Ensure that jerasure and gf-complete are not stripped
    from the upstream release tarball.
  * d/p/drop-user-group-osd-prestart.patch: Drop --setuser/--setgroup
    arguments from call to ceph-osd-prestart.sh; they are not supported
    and generate spurious non-fatal warning messages (LP: #1557461).
  * d/p/tasksmax-infinity.patch: Drop systemd limitation of number of
    processes and threads to long running ceph processes; the default
    of 512 tasks is way to low for even a modest Ceph cluster
    (LP: #1564917).
  * d/rules: Ensure that dh_systemd_start does not insert maintainer
    script snippets for ceph-mon and ceph-create-keys - service restart
    should be handled outside of the packaging as it is under upstart
    and for all other systemd unit files installed (LP: #1563330).

 -- James Page <james.page at ubuntu.com>  Wed, 06 Apr 2016 09:17:59 +0100

** Changed in: ceph (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1564917

Title:
  Default task limit from systemd is too low for ceph

Status in ceph package in Ubuntu:
  Fix Released

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 at 2                                                                                                                                                                                                                               
  * ceph-osd at 2.service - Ceph object storage daemon
     Loaded: loaded (/lib/systemd/system/ceph-osd at .service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2016-04-01 13:23:58 UTC; 12s ago
    Process: 31618 ExecStartPre=/usr/lib/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id 2 --setuser ceph --setgroup ceph (code=exited, status=0/SUCCESS)
   Main PID: 31667 (ceph-osd)
      Tasks: 150 (limit: 512)
     CGroup: /system.slice/system-ceph\x2dosd.slice/ceph-osd at 2.service
             `-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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1564917/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list