You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/17 08:31:37 UTC

[GitHub] [apisix] LY-GO opened a new issue #2450: bug: limit-conn

LY-GO opened a new issue #2450:
URL: https://github.com/apache/apisix/issues/2450


   ### Issue description
   I had test  the plugin of limit-conn.I found the question that the same ip only request the router by five times when conn is 5 and key is remote_addr, and i don't request the  router next time.Why so that?
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   * OS:
   
   ### Minimal test code / Steps to reproduce the issue
   Plugin limit-conn Edit
    conn=5
   rejected_code=503
    burst=0
    key=remote_addr
    default_conn_delay=0
   
   
   ### What's the actual result? (including assertion message & call stack if applicable)
   same user only visit the router with the config 
   
   
   
   ### What's the expected result?
   i hope that the plugin only limit concurrency,and different users also continue to request the router when user request the service after first .


----------------------------------------------------------------
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.

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



[GitHub] [apisix] spacewander closed issue #2450: bug: limit-conn

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2450:
URL: https://github.com/apache/apisix/issues/2450


   


----------------------------------------------------------------
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.

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



[GitHub] [apisix] membphis commented on issue #2450: bug: limit-conn

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2450:
URL: https://github.com/apache/apisix/issues/2450#issuecomment-711763455


   that is a bug, fix it soon


----------------------------------------------------------------
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.

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



[GitHub] [apisix] LY-GO commented on issue #2450: bug: limit-conn

Posted by GitBox <gi...@apache.org>.
LY-GO commented on issue #2450:
URL: https://github.com/apache/apisix/issues/2450#issuecomment-711471376


   > I think you should provide a complete case, we need to know more detailed step information.
   > 
   > Mainly two questions:
   > 
   > 1. What is the route data?
   > 2. What is your test method?
   <img width="401" alt="router-data" src="https://user-images.githubusercontent.com/67543312/96394096-c254e200-11f3-11eb-9ce3-57545e0deeba.png">
   <img width="491" alt="router-data2" src="https://user-images.githubusercontent.com/67543312/96394103-c680ff80-11f3-11eb-8dd8-1985ae637cbf.png">
   <img width="235" alt="plugin" src="https://user-images.githubusercontent.com/67543312/96394105-c8e35980-11f3-11eb-8de1-6974ffa1360c.png">
   2.i use the jmeter to test plugin
   


----------------------------------------------------------------
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.

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



[GitHub] [apisix] membphis commented on issue #2450: bug: limit-conn

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2450:
URL: https://github.com/apache/apisix/issues/2450#issuecomment-711725275


   let me confirm it


----------------------------------------------------------------
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.

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



[GitHub] [apisix] membphis commented on issue #2450: bug: limit-conn

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2450:
URL: https://github.com/apache/apisix/issues/2450#issuecomment-711021281


   > i hope that the plugin only limit concurrency,and different users also continue to request the router when user request the service after first .
   
   What is the difference between different users? The client's IP address or other things? Please confirm this first.
   
   and please provide a mini case which we can reproduce your bug.


----------------------------------------------------------------
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.

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



[GitHub] [apisix] membphis commented on issue #2450: bug: limit-conn

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2450:
URL: https://github.com/apache/apisix/issues/2450#issuecomment-711466145


   I think you should provide a complete case, we need to know more detailed step information.
   
   Mainly two questions:
   
   1. What is the route data?
   2. What is your test method?


----------------------------------------------------------------
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.

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



[GitHub] [apisix] LY-GO commented on issue #2450: bug: limit-conn

Posted by GitBox <gi...@apache.org>.
LY-GO commented on issue #2450:
URL: https://github.com/apache/apisix/issues/2450#issuecomment-711460517


   > > i hope that the plugin only limit concurrency,and different users also continue to request the router when user request the service after first .
   > 
   > What is the difference between different users? The client's IP address or other things? Please confirm this first.
   > 
   > and please provide a mini case which we can reproduce your bug.
   
   one questions:
   you had said the request would been allowed when concurrence declines.When i test the plugin of limit-conn,even through i decline the conn,the request still is unsuccess. this is a bug ?


----------------------------------------------------------------
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.

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