[Pkg-nginx-maintainers] Bug#1063659: nginx: Set worker_cpu_affinity in default configuration

David Gilman davidgilman1 at gmail.com
Sat Feb 10 16:13:36 GMT 2024


Package: nginx
Version: 1.22.1-9
Severity: wishlist
X-Debbugs-Cc: davidgilman1 at gmail.com

Dear Maintainer,

Please consider setting `worker_cpu_affinity auto;` in the default
nginx.conf. The default configuration already sets `worker_processes
auto;` to direct nginx to spin up a worker process on each CPU. The auto
setting for worker_cpu_affinity is the sibling setting for auto
worker_processes, it takes each of those worker processes and pins them
to a unique CPU.

-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (991, 'stable-updates'), (991, 'stable-security'), (990, 'stable'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-17-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nginx depends on:
ii  iproute2      6.1.0-3
ii  libc6         2.36-9+deb12u4
ii  libcrypt1     1:4.4.36-4
ii  libpcre2-8-0  10.42-1
ii  libssl3       3.0.11-1~deb12u2
pn  nginx-common  <none>
ii  zlib1g        1:1.2.13.dfsg-1

nginx recommends no packages.

nginx suggests no packages.



More information about the Pkg-nginx-maintainers mailing list