Forum Discussion
Only one VM on load balancer pool is receiving higher traffic when mirrored via Nginx
Hello, You descrption is just really not clear and it is a hard to read. I did not get which is first the F5 or nginx or the other way around.
If it is Nginx infront the F5 device then maybe as the NGINX is sending many requests from different cllients on the TCP connection to the F5 this is why the F5 could be selecting one pool member for the traffic and maybe adding F5 One Connect profile may help as this way F5 will know that there are different HTTP requests in a single TCP session:
https://support.f5.com/csp/article/K7208
-----
By default, the BIG-IP system performs load balancing once for each TCP connection, rather than for each HTTP request within that connection. After the initial TCP connection is load balanced, all HTTP requests seen on the same connection are sent to the same pool member. You can modify this behavior by forcing the server-side connection to detach after each HTTP request, which in turn allows a new load balancing decision according to changing persistence information in the HTTP request.
---------
https://support.f5.com/csp/article/K7964
Or dissabling this similar function on the NGINX as to not use the same TCP session for many requests to the F5 device:
---
With other load‑balancing tools, this technique is sometimes called multiplexing, connection pooling, connection reuse, or OneConnect.
---
https://www.nginx.com/blog/load-balancing-with-nginx-plus-part-2/
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com