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).
Reviewed: https:/ /review. opendev. org/c/openstack /charm- rabbitmq- server/ +/880215 /opendev. org/openstack/ charm-rabbitmq- server/ commit/ 7d72a74b646d662 bd6866063b5a74e 5f910f5ad9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/focal
commit 7d72a74b646d662 bd6866063b5a74e 5f910f5ad9
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).
Resolved Conflicts:
unit_ tests/test_ rabbitmq_ server_ relations. py
tox.ini
Change-Id: I92879445210bac 6ee7d96a704cdf4 28ca738e3b6 85ddf0f971528dd e433312bff)
Closes-Bug: #1768986
(cherry picked from commit 3c1c05ee598b2fc