You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "xubinthor (via GitHub)" <gi...@apache.org> on 2023/03/24 03:27:42 UTC

[GitHub] [apisix] xubinthor opened a new issue, #9158: the least conn is wrong

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

   ### Description
   
   I set three servers (12, 14, 15), whose TCP connections are 197, 146, and 176,(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 14 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,15., 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-unsubscribe@apisix.apache.org.apache.org

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


[GitHub] [apisix] soulbird commented on issue #9158: the least conn is wrong

Posted by "soulbird (via GitHub)" <gi...@apache.org>.
soulbird commented on issue #9158:
URL: https://github.com/apache/apisix/issues/9158#issuecomment-1482482200

   same as #9121 


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] xubinthor commented on issue #9158: the least conn is wrong

Posted by "xubinthor (via GitHub)" <gi...@apache.org>.
xubinthor commented on issue #9158:
URL: https://github.com/apache/apisix/issues/9158#issuecomment-1482482974

   > same as #9121
   
   But no one has responded. It's been two days, sir
   
   


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] soulbird closed issue #9158: the least conn is wrong

Posted by "soulbird (via GitHub)" <gi...@apache.org>.
soulbird closed issue #9158: the least conn is wrong
URL: https://github.com/apache/apisix/issues/9158


-- 
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-unsubscribe@apisix.apache.org

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