]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: set TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=134217728 41805/head
authorSage Weil <sage@newdream.net>
Thu, 10 Jun 2021 12:39:11 +0000 (08:39 -0400)
committerSage Weil <sage@newdream.net>
Thu, 10 Jun 2021 12:39:27 +0000 (08:39 -0400)
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>
src/cephadm/cephadm

index ffbcbb567de0569b63ef92c3c3289cfb82bd6913..d95bc7b53463629e568d76f35a5714352eb4d7a9 100755 (executable)
@@ -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: