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 2021/07/08 03:53:20 UTC

[GitHub] [apisix] kuberxy commented on issue #4461: request help: How much lua_max_pending_timers should be set to

kuberxy commented on issue #4461:
URL: https://github.com/apache/apisix/issues/4461#issuecomment-876102589


   I get this infomations in error log after I use patch mechanism. 
   ```
   2021/07/08 11:37:31 [error] 21507#21507: *116264 [lua] balancer.lua:96: create_obj_fun(): fail to create healthcheck instance: nil while connecting to upstream, client: 127.0.0.1, server: , request: "GET /res/static/ktv/images/close.png HTTP/1.1", host: "test.xxx.com", referrer: "https://test.xxx.com/circle/"
   2021/07/08 11:37:31 [alert] 21509#21509: *116288 [lua] patch.lua:326: gctimer(): pending_timer 128 stack: stack traceback:
   	/usr/local/share/lua/5.1/apisix/patch.lua:326: in function 'gctimer'
   	/usr/local/share/lua/5.1/resty/healthcheck.lua:1138: in function 'start'
   	/usr/local/share/lua/5.1/resty/healthcheck.lua:1427: in function 'new'
   	/usr/local/share/lua/5.1/apisix/balancer.lua:90: in function 'create_obj_fun'
   	/usr/local/share/lua/5.1/apisix/core/lrucache.lua:92: in function 'lrucache_checker'
   	/usr/local/share/lua/5.1/apisix/balancer.lua:139: in function 'fetch_healthchecker'
   	/usr/local/share/lua/5.1/apisix/balancer.lua:212: in function 'pick_server'
   	/usr/local/share/lua/5.1/apisix/balancer.lua:276: in function 'load_balancer'
   	/usr/local/share/lua/5.1/apisix/init.lua:759: in function 'http_balancer_phase'
   	balancer_by_lua:2: in main chunk while connecting to upstream, client: 127.0.0.1, server: , request: "GET /res/static/circle/images/music_default.jpg HTTP/1.1", host: "test.xxx.com", referrer: "https://test.xxx.com/circle/"
   2021/07/08 11:37:31 [error] 21509#21509: *116288 [lua] balancer.lua:96: create_obj_fun(): fail to create healthcheck instance: nil while connecting to upstream, client: 127.0.0.1, server: , request: "GET /res/static/circle/images/music_default.jpg HTTP/1.1", host: "test.xxx.com", referrer: "https://test.xxx.com/circle/"
   2021/07/08 11:37:31 [alert] 21509#21509: *116336 [lua] patch.lua:326: gctimer(): pending_timer 128 stack: stack traceback:
   	/usr/local/share/lua/5.1/apisix/patch.lua:326: in function 'gctimer'
   	/usr/local/share/lua/5.1/resty/healthcheck.lua:1019: in function </usr/local/share/lua/5.1/resty/healthcheck.lua:972>, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:808
   2021/07/08 11:37:31 [alert] 21509#21509: *116357 [lua] patch.lua:326: gctimer(): pending_timer 128 stack: stack traceback:
   	/usr/local/share/lua/5.1/apisix/patch.lua:326: in function 'gctimer'
   	/usr/local/share/lua/5.1/resty/healthcheck.lua:1019: in function </usr/local/share/lua/5.1/resty/healthcheck.lua:972>, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:808
   2021/07/08 11:37:31 [error] 21509#21509: *116348 [lua] balancer.lua:96: create_obj_fun(): fail to create healthcheck instance: nil while connecting to upstream, client: 127.0.0.1, server: , request: "GET /res/static/circle/images/live/record_stop.png HTTP/1.1", host: "test.xxx.com", referrer: "https://test.xxx.com/circle/"
   
   ```


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