Skip to content

feat: As a user, I want to set enable_cpu_affinity default to false, so that it won't affect running APISIX via container #8042

Description

@spacewander

Description

Nowadays, more and more users deploy APISIX via container. As Nginx's worker_cpu_affinity doesn't count with cgroup, enabling worker_cpu_affinity by default will affect the behavior of APISIX, for instance, multiple instances will be bound to one CPU. To avoid this problem, it would be better to disable CPU affinity option by default in the conf/config-default.yaml.

The worker_processes option also has a similar problem, but changing this option will bring enormous breaking change.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions