7e09b25b96
- Limit number of api workers to roughly using half of system RAM. Spawning a bunch, just to have the OOM killer nuke them regularly is not useful. - Bump the rpc_workers default to half of the api_workers. A default of 1 falls behind on any reasonably sized node. Change-Id: I8b84a359f83133014b3d4414aafc10e6b7c6a876 Closes-bug: #1815629
16 lines
660 B
YAML
16 lines
660 B
YAML
upgrade:
|
|
- The number of api and rpc workers may change on upgrade.
|
|
It is strongly recommended that all deployers set these
|
|
values in their neutron configurations, rather than
|
|
using the defaults.
|
|
fixes:
|
|
- Neutron API workers default to the number of CPU cores.
|
|
This can lead to high cpu/low memory boxes getting into
|
|
trouble. The defaults have been tweaked to attempt to
|
|
put an upper bound on the default of either the number
|
|
of cores, or half of system memory, whichever is lower.
|
|
In addition, the default number of RPC workers has been
|
|
changed from a value of ``1``, to a value of half the
|
|
number of API workers.
|
|
|