Azurel
Silver Pleskian
- Server operating system version
- AlmaLinux 9.8
- Plesk version and microupdate number
- 18.0.80#5
Hi, I'm seeing thousands of nginx errors in proxy_error_log like:
This is new. Before upgrading from AlmaLinux 8.10 to 9.8, users never reported this kind of issue.
The server runs AlmaLinux 9.8 with Plesk Obsidian 18.0.80 #5 and has 24 CPU cores.
Current nginx settings:
/etc/nginx/ulimit.global_params is from from 2020-12-15
/etc/nginx/nginx.conf is dated 2026-08-10. This date is a bit strange, as there was no system or Plesk update on that day.
What is the Plesk-supported and update-safe way to increase nginx capacity here?
In particular:
[alert] 8372#0: *40621122 1024 worker_connections are not enough while connecting to upstream, client: ....
This is new. Before upgrading from AlmaLinux 8.10 to 9.8, users never reported this kind of issue.
The server runs AlmaLinux 9.8 with Plesk Obsidian 18.0.80 #5 and has 24 CPU cores.
Current nginx settings:
/etc/nginx/nginx.conf: worker_processes 1;
/etc/nginx/nginx.conf: worker_connections 1024;
/etc/nginx/ulimit.global_params: worker_rlimit_nofile 40000;
/etc/nginx/ulimit.global_params is from from 2020-12-15
/etc/nginx/nginx.conf is dated 2026-08-10. This date is a bit strange, as there was no system or Plesk update on that day.
Code:
# systemctl show nginx -p LimitNOFILE
LimitNOFILE=4096
# grep -i "Max open files" /proc/$(cat/run/nginx.pid)/limits
Max open files 4096 4096 files
What is the Plesk-supported and update-safe way to increase nginx capacity here?
In particular:
- Is worker_processes 1 expected on a 24-core server?
- Should worker_processes be set to auto?
- Should worker_connections be increased?
- Should LimitNOFILE also be increased?