Default number of api workers in Neutron is set to be equal to
number of CPU cores on host. That is fine on production environment
but on fullstack tests, where each test spawns own neutron-server
process it might cause host overload.
This patch limits number of api_workers to 2 which should be enough
for single test case and should make significantly lower load on host.
Reviewed: https:/ /review. openstack. org/546069 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=465ad6f3197 b8591a401a9f0db 2fabf6c70fdfce
Committed: https:/
Submitter: Zuul
Branch: master
commit 465ad6f3197b859 1a401a9f0db2fab f6c70fdfce
Author: Sławek Kapłoński <email address hidden>
Date: Tue Feb 20 09:24:38 2018 +0100
[Fullstack] Limit number of Neutron's api workers
Default number of api workers in Neutron is set to be equal to
number of CPU cores on host. That is fine on production environment
but on fullstack tests, where each test spawns own neutron-server
process it might cause host overload.
This patch limits number of api_workers to 2 which should be enough
for single test case and should make significantly lower load on host.
Change-Id: I1e970e35883d52 40f0bd30eaea503 13d93900580
Closes-Bug: #1750337