Welcome! Log In Create A New Profile

Advanced

worker_connections are not enough, reusing connections with idle workers

June 03, 2022 08:40PM
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

_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

worker_connections are not enough, reusing connections with idle workers

roger_bc June 03, 2022 08:40PM

Re: worker_connections are not enough, reusing connections with idle workers

Sergey A. Osokin June 03, 2022 11:42PM

Re: worker_connections are not enough, reusing connections with idle workers

roger_bc June 07, 2022 04:20PM

Re: worker_connections are not enough, reusing connections with idle workers

Sergey A. Osokin June 07, 2022 05:32PM

Re: worker_connections are not enough, reusing connections with idle workers

roger_bc June 07, 2022 05:44PM

Re: worker_connections are not enough, reusing connections with idle workers

Sergey A. Osokin June 07, 2022 09:26PM

Re: worker_connections are not enough, reusing connections with idle workers

Maxim Dounin June 07, 2022 07:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 48
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready