From: Sage Weil Date: Thu, 10 Jun 2021 12:39:11 +0000 (-0400) Subject: cephadm: set TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=134217728 X-Git-Tag: v16.2.5~49^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=777a9a45aed0d243c52788c7df32d87f0e1be723;p=ceph.git cephadm: set TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=134217728 This used to live in /etc/{sysconfig,defaults}/ceph, but that does not apply inside the container. Signed-off-by: Sage Weil (cherry picked from commit 140653be0b26293fe2ebe97dadd8bd9dc41f6d99) --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 107f70565211..47e119907688 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -2426,7 +2426,9 @@ def get_container(ctx: CephadmContext, entrypoint: str = '' name: str = '' ceph_args: List[str] = [] - envs: List[str] = [] + envs: List[str] = [ + 'TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=134217728', + ] host_network: bool = True if container_args is None: