]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: set TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=134217728
authorSage Weil <sage@newdream.net>
Thu, 10 Jun 2021 12:39:11 +0000 (08:39 -0400)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 17 Jun 2021 08:47:01 +0000 (10:47 +0200)
This used to live in /etc/{sysconfig,defaults}/ceph, but that does not
apply inside the container.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 140653be0b26293fe2ebe97dadd8bd9dc41f6d99)

src/cephadm/cephadm

index 107f70565211677df44896a5ca0414269ca46264..47e1199076884f96b96e850bdd754affe94d2619 100755 (executable)
@@ -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: