CentOS nproc limit is too low for production deployment

Bug #1376564 reported by Vladimir Kuklin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Oleksiy Molchanov
5.1.x
Fix Committed
High
Oleksiy Molchanov

Bug Description

{"build_id": "2014-09-17_21-40-34", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "11", "auth_required": true, "api": "1.0", "nailgun_sha": "eb8f2b358ea4bb7eb0b2a0075e7ad3d3a905db0d", "production": "docker", "fuelmain_sha": "8ef433e939425eabd1034c0b70e90bdf888b69fd", "astute_sha": "f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13", "feature_groups": ["mirantis"], "release": "5.1", "release_versions": {"2014.1.1-5.1": {"VERSION": {"build_id": "2014-09-17_21-40-34", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "11", "api": "1.0", "nailgun_sha": "eb8f2b358ea4bb7eb0b2a0075e7ad3d3a905db0d", "production": "docker", "fuelmain_sha": "8ef433e939425eabd1034c0b70e90bdf888b69fd", "astute_sha": "f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13", "feature_groups": ["mirantis"], "release": "5.1", "fuellib_sha": "d9b16846e54f76c8ebe7764d2b5b8231d6b25079"}}}, "fuellib_sha": "d9b16846e54f76c8ebe7764d2b5b8231d6b25079"}

Deploy CentOS+RadosGW+HA

Essential detail is that Controllers have 24 cores. Because of this httpd spawns 25*24 threads and exceeds 1024 nproc limit which is in /etc/security/limits.d/90-nproc.conf

This bug is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=919793

We need to remove 90-nproc.conf file completely or change nproc value to at least 2048

tags: added: low-hanging-fruit
Changed in fuel:
assignee: MOS Linux (mos-linux) → Oleksiy Molchanov (omolchanov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/125840

Changed in fuel:
assignee: Oleksiy Molchanov (omolchanov) → Vladimir Kuklin (vkuklin)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/125842

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/125971

Changed in fuel:
assignee: Vladimir Kuklin (vkuklin) → Oleksiy Molchanov (omolchanov)
Changed in fuel:
assignee: Oleksiy Molchanov (omolchanov) → Sergii Golovatiuk (sgolovatiuk)
Changed in fuel:
assignee: Sergii Golovatiuk (sgolovatiuk) → Oleksiy Molchanov (omolchanov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/126254

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/125971
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=1eb4732818ec7de27da69115014c68b10b0aba77
Submitter: Jenkins
Branch: master

commit 1eb4732818ec7de27da69115014c68b10b0aba77
Author: Oleksiy Molchanov <email address hidden>
Date: Fri Oct 3 16:51:25 2014 +0300

    Increases the number of processes in CentOS 6.X

    Increases the number of processes per user in /etc/security/limits.d/90-nproc.conf
    for CentOS 6.X due to bug https://bugzilla.redhat.com/show_bug.cgi?id=919793

    Change-Id: I76f258f33325f80fe06167dec08d81dabd292163
    Closes-Bug: 1376564

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/126254
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=83507016dfab975b626b389c00b97f5661709637
Submitter: Jenkins
Branch: stable/5.1

commit 83507016dfab975b626b389c00b97f5661709637
Author: Oleksiy Molchanov <email address hidden>
Date: Fri Oct 3 16:51:25 2014 +0300

    Increases the number of processes in CentOS 6.X

    Increases the number of processes per user in /etc/security/limits.d/90-nproc.conf
    for CentOS 6.X due to bug https://bugzilla.redhat.com/show_bug.cgi?id=919793

    Change-Id: I76f258f33325f80fe06167dec08d81dabd292163
    Closes-Bug: 1376564

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (stable/5.1)

Change abandoned by Vladimir Kuklin (<email address hidden>) on branch: stable/5.1
Review: https://review.openstack.org/125842

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Vladimir Kuklin (<email address hidden>) on branch: master
Review: https://review.openstack.org/125840

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.