Limit the worker processes for a particular upstream server

spaace nginx-forum at
Tue Jul 13 04:57:32 UTC 2021


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

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


Posted at Nginx Forum:,292026,292026#msg-292026

More information about the nginx mailing list