Hi,

I noticed that worker_connections while is defined as the maximum number of
connections per worker, nginx pre-allocated enough memory to handle all
possible worker_connections, even before they are actually needed.

For example, setting worker_connections to 10485760 causes nginx to take
4.3GB of memory upon init.

Is this how its supposed to be?
Is there a way to tell nginx to only allocate memory as needed?

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,288358,288358#msg-288358

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to