From 140653be0b26293fe2ebe97dadd8bd9dc41f6d99 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 10 Jun 2021 08:39:11 -0400 Subject: [PATCH] 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 --- src/cephadm/cephadm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index ffbcbb567de0..d95bc7b53463 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -2452,7 +2452,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: -- 2.47.3