Skip to content

Commit

Permalink
tikv: prof.active is not a valid jemalloc config (#1435)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvisa authored Jun 21, 2021
1 parent 7176e38 commit 2bba748
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/playground/instance/tikv.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion embed/templates/scripts/run_tikv.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 2bba748

Please sign in to comment.