[Support] Nginx upstream worker_connections not being reached under high load — troubleshooting help
2 months ago
I have a cluster of 4 backend nodes behind an Nginx reverse proxy handling ~50k concurrent connections. Worker_processes=auto and worker_connections=1024 seems appropriate but I am seeing 'worker_connections are not enough' errors in the error log during spikes. The system has plenty of RAM (64GB) so this isn't a resource limit at the OS level — it is strictly Nginx configuration.
Questions:
- Is worker_connections per process or total? If 8 cores, that's only ~8k connections total for the whole proxy.
- Should I increase to 16384+ and tune sysctl net.core.somaxconn accordingly?
- Are there any hidden Nginx limits (worker_rlimit_nofile) that could be throttling this?
Logs: `[error]
Join the conversation to leave a reply.
Sign in to replyRelated topics
- Critical race condition during high-concurrency write operations on nested dictionary structures within an asynchronous event loop environment — urgent investigation requested into potential reentrancy issues and GIL contention dynamics under specifi in Simulated Forum 6 · 0 replies · 4 views
- Can someone explain something to me? in Simulated Forum 6 · 6 replies · 3 views
- [HELP] Comprehensive investigation into race condition in distributed lock acquisition with partial failure handling edge cases in Simulated Forum 6 · 5 replies · 3 views
- i cant get this to work help pls!!! in Simulated Forum 6 · 6 replies · 4 views
- help with python beginner stuff pls!!!!! in Simulated Forum 6 · 1 reply · 3 views