Skip to content

Commit

Permalink
fix the start script for alertmanager when enabling numa (#2337)
Browse files Browse the repository at this point in the history
  • Loading branch information
KanShiori authored Dec 27, 2023
1 parent 0a96dad commit e1b4850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed/templates/scripts/run_alertmanager.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exec > >(tee -i -a "{{.LogDir}}/alertmanager.log")
exec 2>&1

{{- if .NumaNode}}
exec numactl --cpunodebind={{.NumaNode}} --membind={{.NumaNode}} bin/alertmanager \
exec numactl --cpunodebind={{.NumaNode}} --membind={{.NumaNode}} bin/alertmanager/alertmanager \
{{- else}}
exec bin/alertmanager/alertmanager \
{{- end}}
Expand Down

0 comments on commit e1b4850

Please sign in to comment.