thor533 opened a new issue, #9225:
URL: https://github.com/apache/apisix/issues/9225

   ### Description
   
   I set three servers (12, 14, 15), whose TCP connections are 120, 150, and 
201,(i use “netstat -ant | grep ^tcp | wc -l” to query) respectively. I used 
least conn algorithm, with the same weight is 1. When I access route, I don't 
hit 12 servers all the time, but randomly.
   
   the step is :
   1.create the route and Setting three upstream fractions is 12, 14, and 15 
,which have the same weigth is 1(least conn algorithm)
   2.I first query the connection number of three servers, respectively 
120,150, 201,
   3.I start requesting this route,Normally, multiple requests should hit 12 
servers all the time (the minimum number of connections is 120), but they 
don't. Instead, they're randomly selected all the time
   
   ps:
   What seems to be the problem? I only set up a route, I am working alone, is 
there a problem with the configuration? Or the connection number query is wrong,
   please help me
   thanks!!!
   
   
   
   ### Environment
   
   - APISIX version (run `apisix 2.15-alpine`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to