The beam.smp process won't start if more than 1024 are configured, the
charm could make this by default on large systems (e.g. more than 42
CPUs). This change makes RabbitMQEnvContext.calculate_threads() never
return more than 1024 (MAX_NUM_THREADS).
Change-Id: I92879445210bac6ee7d96a704cdf428ca738e3b6
Closes-Bug: #1768986
(cherry picked from commit 3c1c05ee598b2fc85ddf0f971528dde433312bff)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- rabbitmq- server/ +/880172 /opendev. org/openstack/ charm-rabbitmq- server/ commit/ 552eb3a5d212d61 21a894bd36b5f58 870e18b92d
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/jammy
commit 552eb3a5d212d61 21a894bd36b5f58 870e18b92d
Author: Vern Hart <email address hidden>
Date: Thu May 3 21:46:22 2018 +0000
Enforce a maximum of 1024 async threads.
The beam.smp process won't start if more than 1024 are configured, the ext.calculate_ threads( ) never
charm could make this by default on large systems (e.g. more than 42
CPUs). This change makes RabbitMQEnvCont
return more than 1024 (MAX_NUM_THREADS).
Change-Id: I92879445210bac 6ee7d96a704cdf4 28ca738e3b6 85ddf0f971528dd e433312bff)
Closes-Bug: #1768986
(cherry picked from commit 3c1c05ee598b2fc