Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does set_peer_down mean the upstream server won't accept any requests? #33

Closed
tjliupeng opened this issue Aug 22, 2016 · 2 comments
Closed

Comments

@tjliupeng
Copy link

Hi, Yichun,

We plan to use lua Nginx module for backend server load balance. To prevent out of memory, our upstream server provides configuration for max session number. When the max session number reaches, this server won't participate for load balancing, but the requests for those sessions already created should still be routed to this server. Can I use set_peer_down for the server which has max sessions?

Thanks
Liu Peng

@agentzh
Copy link
Member

agentzh commented Aug 22, 2016

@tjliupeng Yes, you could.

@tjliupeng
Copy link
Author

Thanks, YiChun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants