Limit the worker processes for a particular upstream server
spaace
nginx-forum at forum.nginx.org
Tue Jul 13 04:57:32 UTC 2021
Hi,
Our deployment uses Lua scripts to add authentication / certain other checks
at the proxy. It does this by the required configuration from the upstream
server and then refreshing it periodically. However, this does add some
memory to each worker process and the refreshes will also hit the upstream
server.
To avoid the overheads, i was wondering if there is a way to limit the no of
worker processes that can serve a single upstream server
Thanks
Arun
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292026,292026#msg-292026
More information about the nginx
mailing list