Reviewed: https://review.opendev.org/674125 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=61d149c0123997accc5c48994d7a4d1514eb49c9 Submitter: Zuul Branch: master
commit 61d149c0123997accc5c48994d7a4d1514eb49c9 Author: Adam Spiers <[email protected]> Date: Thu Aug 1 20:37:09 2019 +0100 Fix default RPC worker count The help for the rpc_workers config option is: Number of RPC worker processes for service. If not specified, the default is equal to half the number of API workers. However, this does not accurately describe the current behaviour, which is to default to half the _default_ number of API workers. This can make a big difference; for example on a 256-CPU machine with 256GB of RAM which has api_workers configured to 8 but rpc_workers not configured to anything, this will result in 64 RPC workers, which is 8 for every API worker! Therefore tweak the default to rely on the actual value of api_workers, which may be different than the default value. Change-Id: I26115932ef4775f157297be1637ee26a4fca4666 Related-Bug: #1838688 Closes-Bug: #1838689 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1838689 Title: rpc_workers default value ignores setting of api_workers Status in neutron: Fix Released Bug description: The help for the rpc_workers config option is: Number of RPC worker processes for service. If not specified, the default is equal to half the number of API workers. However, this does not accurately describe the current behaviour, which is to default to half the _default_ number of API workers. This can make a big difference; for example on a 256-CPU machine with 256GB of RAM which has api_workers configured to 8 but rpc_workers not configured to anything, this will result in 64 RPC workers, which is 8 for every API worker! To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1838689/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

