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 \