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/ +/566173 /opendev. org/openstack/ charm-rabbitmq- server/ commit/ 3c1c05ee598b2fc 85ddf0f971528dd e433312bff
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 3c1c05ee598b2fc 85ddf0f971528dd e433312bff
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
Closes-Bug: #1768986