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

   ### Description
   
   service
   ```
   {
     "id": "557101231575663294",
     "create_time": 1741587810,
     "update_time": 1742293721,
     "name": "test-api",
     "upstream": {
       "nodes": [
         {
           "host": "172.31.19.1",
           "port": 80,
           "weight": 100
         },
         {
           "host": "172.31.20.9",
           "port": 80,
           "weight": 100
         }
       ],
       "retries": 0,
       "timeout": {
         "connect": 30,
         "send": 30,
         "read": 30
       },
       "type": "roundrobin",
       "checks": {
         "active": {
           "concurrency": 2,
           "healthy": {
             "http_statuses": [
               200,
               302,
               301,
               404
             ],
             "interval": 1,
             "successes": 2
           },
           "http_path": "/apisix/hearbeat",
           "port": 80,
           "timeout": 1,
           "type": "http",
           "unhealthy": {
             "http_failures": 2,
             "http_statuses": [
               429,
               500,
               501,
               502,
               503,
               504,
               505
             ],
             "interval": 1,
             "tcp_failures": 2,
             "timeouts": 3
           }
         }
       },
       "scheme": "http",
       "pass_host": "pass",
       "keepalive_pool": {
         "idle_timeout": 60,
         "requests": 1000,
         "size": 640
       }
     },
     "plugins": {
       "ip-restriction": {
         "_meta": {
           "disable": true
         },
         "blacklist": [
           "108.136.33.21"
         ]
       },
       "limit-req": {
         "_meta": {
           "disable": true
         },
         "burst": 0,
         "key": "http_x_forwarded_for",
         "key_type": "var",
         "rate": 10,
         "rejected_code": 429,
         "rejected_msg": "ffffff"
       },
       "ua-restriction": {
         "_meta": {
           "disable": true
         },
         "bypass_missing": false,
         "denylist": [
           "curl"
         ]
       }
     }
   } 
   ```
   Then I configured around 600 routes, each of which referenced this service. 
The observed situation is that each node of the upstream service has about 20 
heartbeat requests per second, which is inconsistent with the configured 
interval of 1 second. why ?
   
   ### Environment
   
   - APISIX version (run `apisix version`):3.11
   - 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