setting kernel.pid_max for large deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Juju Charms Collection) |
Fix Released
|
Low
|
Jorge Niedbalski | ||
ceph-osd (Juju Charms Collection) |
Fix Released
|
Low
|
Jorge Niedbalski |
Bug Description
In large and high density deployment, ceph daemon hits pid limit. Recently upstream has added a description regarding kernel.pid_max in their doc.
It would be great if ceph charms add kernel.pid_max values into the deployed nodes to be capable of handling large and high density deployments.
http://
> Hosts with high numbers of OSDs (e.g., > 20) may spawn a lot of threads, especially during recovery and rebalancing. Many Linux kernels default to a relatively small maximum number of threads (e.g., 32k). If you encounter problems starting up OSDs on hosts with a high number of OSDs, consider setting kernel.pid_max to a higher number of threads. The theoretical maximum is 4,194,303 threads. For example, you could add the following to the /etc/sysctl.conf file:
>
> kernel.pid_max = 4194303
[related info]
https:/
http://
Related branches
- Corey Bryant: Pending requested
- OpenStack Charmers: Pending requested
- Edward Hope-Morley: Pending requested
-
Diff: 1217 lines (+219/-204)18 files modifiedconfig.yaml (+7/-1)
hooks/charmhelpers/contrib/network/ip.py (+55/-44)
hooks/charmhelpers/contrib/storage/linux/utils.py (+3/-2)
hooks/charmhelpers/core/fstab.py (+10/-8)
hooks/charmhelpers/core/hookenv.py (+19/-11)
hooks/charmhelpers/core/host.py (+22/-17)
hooks/charmhelpers/core/services/helpers.py (+9/-5)
hooks/charmhelpers/core/sysctl.py (+0/-34)
hooks/charmhelpers/core/templating.py (+2/-1)
hooks/charmhelpers/fetch/__init__.py (+13/-11)
hooks/charmhelpers/fetch/archiveurl.py (+53/-16)
hooks/charmhelpers/fetch/bzrurl.py (+5/-1)
hooks/charmhelpers/fetch/giturl.py (+0/-44)
hooks/hooks.py (+7/-0)
tests/charmhelpers/contrib/amulet/deployment.py (+3/-3)
tests/charmhelpers/contrib/amulet/utils.py (+6/-4)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+2/-1)
tests/charmhelpers/contrib/openstack/amulet/utils.py (+3/-1)
- James Page: Pending requested
- Corey Bryant: Pending requested
- Edward Hope-Morley: Pending requested
- OpenStack Charmers: Pending requested
-
Diff: 1132 lines (+217/-168)18 files modifiedconfig.yaml (+6/-0)
hooks/charmhelpers/contrib/network/ip.py (+52/-50)
hooks/charmhelpers/contrib/storage/linux/utils.py (+3/-2)
hooks/charmhelpers/core/fstab.py (+10/-8)
hooks/charmhelpers/core/hookenv.py (+19/-11)
hooks/charmhelpers/core/host.py (+22/-17)
hooks/charmhelpers/core/services/__init__.py (+2/-2)
hooks/charmhelpers/core/services/helpers.py (+9/-5)
hooks/charmhelpers/core/sysctl.py (+0/-34)
hooks/charmhelpers/core/templating.py (+2/-1)
hooks/charmhelpers/fetch/__init__.py (+14/-12)
hooks/charmhelpers/fetch/archiveurl.py (+53/-16)
hooks/charmhelpers/fetch/bzrurl.py (+5/-1)
hooks/hooks.py (+6/-0)
tests/charmhelpers/contrib/amulet/deployment.py (+3/-3)
tests/charmhelpers/contrib/amulet/utils.py (+6/-4)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+2/-1)
tests/charmhelpers/contrib/openstack/amulet/utils.py (+3/-1)
- Liam Young (community): Approve
-
Diff: 18 lines (+4/-2)1 file modifiedconfig.yaml (+4/-2)
- Liam Young (community): Approve
-
Diff: 18 lines (+4/-2)1 file modifiedconfig.yaml (+4/-2)
tags: | added: cts |
tags: | added: openstack |
affects: | ceph-osd (Ubuntu) → ceph-osd (Juju Charms Collection) |
Changed in ceph-osd (Juju Charms Collection): | |
status: | New → In Progress |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → Low |
Changed in ceph-osd (Juju Charms Collection): | |
importance: | Undecided → Low |
Changed in ceph (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in ceph-osd (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in ceph (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceph-osd (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceph (Juju Charms Collection): | |
milestone: | none → 15.01 |
Changed in ceph-osd (Juju Charms Collection): | |
milestone: | none → 15.01 |
Linked the branch for fixing this.