Bug 1468018 - Neutron Worker Process count is set to Processor Count
Neutron Worker Process count is set to Processor Count
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
11.0 (Ocata)
Unspecified Unspecified
high Severity high
: ---
: 11.0 (Ocata)
Assigned To: Brent Eagles
Gurenko Alex
scale_lab, aos-scalability-36
: Triaged, ZStream
Depends On:
  Show dependency treegraph
Reported: 2017-07-05 15:10 EDT by Sai Sindhur Malleni
Modified: 2018-06-22 08:37 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2018-06-22 08:37:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1745016 None None None 2018-01-23 15:30 EST
OpenStack gerrit 536957 None None None 2018-01-23 15:29 EST

  None (edit)
Description Sai Sindhur Malleni 2017-07-05 15:10:41 EDT
Description of problem:
Starting Ocata upstream moved to more sane defaults (https://github.com/openstack/puppet-openstacklib/blob/master/lib/facter/os_workers.rb) as deploying with  $::processorcount leads to unexpected memory growth/database problems due to each worker opening connections to the database. On a 56 core machine, we should be seeing 12 workers as the default is to use min(processorcount/2, 12). When deploying using default we see api_workers and rpc_workers set empty string and 112 workers processes are seen for neutron server (56 for api and 56 for rpc). However, starting OSP11 we should only see 24 workers in this case (12 for api and 12 for rpc).

Version-Release number of selected component (if applicable):

How reproducible: 100%

Steps to Reproduce:
1. Deploy overcloud with defauls

Actual results:
56 worker processes each for neutron api and neutron rpc are seen

Expected results:

12 workers processes each for neutron api and neutron rpc should be seen.

Additional info:
Comment 1 Alex Schultz 2017-07-06 15:55:01 EDT
Might need a backport of https://review.openstack.org/#/c/425423/ which updated the logic to fall back to the os_workers provided by puppet modules if THT is unset
Comment 2 Assaf Muller 2017-07-07 12:10:45 EDT
Backport in progress.
Comment 3 Red Hat Bugzilla Rules Engine 2017-07-07 12:10:49 EDT
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.
Comment 4 Brent Eagles 2018-01-24 10:05:17 EST
*** Bug 1470363 has been marked as a duplicate of this bug. ***
Comment 5 Scott Lewis 2018-06-22 08:37:25 EDT
OSP11 is now retired, see details at https://access.redhat.com/errata/product/191/ver=11/rhel---7/x86_64/RHBA-2018:1828

Note You need to log in before you can comment on or make changes to this bug.