From ec9a7c0bcc8eb940926464116434fc90fcf16a45 Mon Sep 17 00:00:00 2001 From: 9547 Date: Fri, 18 Jun 2021 23:22:35 +0800 Subject: [PATCH] tikv: prof.active is not a valid jemalloc config --- components/playground/instance/tikv.go | 2 +- embed/templates/scripts/run_tikv.sh.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/playground/instance/tikv.go b/components/playground/instance/tikv.go index 336bb612e3..0a05f31005 100644 --- a/components/playground/instance/tikv.go +++ b/components/playground/instance/tikv.go @@ -72,7 +72,7 @@ func (inst *TiKVInstance) Start(ctx context.Context, version utils.Version) erro var err error envs := make(map[string]string) - envs["MALLOC_CONF"] = "prof:true,prof_active:false,prof.active:false" + envs["MALLOC_CONF"] = "prof:true,prof_active:false" if inst.Process, err = NewComponentProcessWithEnvs(ctx, inst.Dir, inst.BinPath, "tikv", version, envs, args...); err != nil { return err } diff --git a/embed/templates/scripts/run_tikv.sh.tpl b/embed/templates/scripts/run_tikv.sh.tpl index 403104848c..fad4935a04 100644 --- a/embed/templates/scripts/run_tikv.sh.tpl +++ b/embed/templates/scripts/run_tikv.sh.tpl @@ -20,7 +20,7 @@ echo $stat {{- end}} {{- end}} -export MALLOC_CONF="prof:true,prof_active:false,prof.active:false" +export MALLOC_CONF="prof:true,prof_active:false" {{- if .NumaNode}} exec numactl --cpunodebind={{.NumaNode}} --membind={{.NumaNode}} bin/tikv-server \