worker_connections are not enough, reusing connections with idle workers

Roger Fischer roger at netskrt.io
Sat Jun 4 00:38:07 UTC 2022


Hello,

my understanding is that worker_connections applies to each worker (eg. when set to 1024, 10 worker processes could handle up to 10240 connections).

But we are seeing 1024 worker_connections are not enough, reusing connections from one worker while other workers are idle.

Is there something we can do to balance connections more evenly across workers?

This is from a performance test. The connections are established all at once. Would spreading them out over some time make a difference?

nginx version: nginx/1.19.9

Thanks…

Roger

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20220603/428b6bb8/attachment.htm>


More information about the nginx mailing list