Skip to content

numactl: execution of `bin/alertmanager': Permission denied #2329

@haiying-gao

Description

@haiying-gao

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

deploy tidb cluster with numa_node config on alertmanager server

alertmanager_servers:
- host: xxx.xxx.xxx.xxx
...
  numa_node: "0"
  1. What did you expect to see?

alertmanager start successfully.

  1. What did you see instead?

alertmanager start failed with error "numactl: execution of `bin/alertmanager': Permission denied"

wrong template file run_alertmanager.sh.tpl like this

exec numactl --cpunodebind={{.NumaNode}} --membind={{.NumaNode}} bin/alertmanager \

the correct config sholud be like this

exec numactl --cpunodebind={{.NumaNode}} --membind={{.NumaNode}} bin/alertmanager/alertmanager \
  1. What version of TiUP are you using (tiup --version)?
1.14.0 tiup
Go Version: go1.21.4
Git Ref: v1.14.0
GitHash: c3e9fc518aea0da66a37f82ee5a516171de9c372

Metadata

Metadata

Assignees

Labels

type/bugCategorizes issue as related to a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions