Hi, guys. I got a problem, please following the message, hope helpful.
environment:
- CentOS release 6.2
- mem_cache_size = 128m (by default)
2019/10/16 15:25:01 [error] 26259#0: *139856673 lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/resty/dns/balancer/base.lua:1206: attempt to index field 'lastQuery' (a nil value)
2019/10/16 15:25:01 [error] 26279#0: *139856704 lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/resty/dns/balancer/base.lua:1206: attempt to index field 'lastQuery' (a nil value)
2019/10/16 15:25:01 [error] 26278#0: *139856712 lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/resty/dns/balancer/base.lua:1206: attempt to index field 'lastQuery' (a nil value)
2019/10/16 15:25:01 [error] 26260#0: *139855974 [lua] events.lua:273: post(): worker-events: failed posting event "upstreams" by "balancer"; no memory, client: 127.0.0.1, server: kong_admin, request: "POST /config HTTP/1.1", host: "localhost:8001"
2019/10/16 15:25:01 [error] 26260#0: *139855974 [lua] handler.lua:329: failed broadcasting upstream create to workers: failed posting event "upstreams" by "balancer"; no memory, client: 127.0.0.1, server: kong_admin, request: "POST /config HTTP/1.1", host: "localhost:8001"
2019/10/16 15:25:01 [error] 26258#0: *139856000 [lua] events.lua:273: post(): worker-events: failed posting event "upstreams" by "balancer"; no memory, context: ngx.timer
2019/10/16 15:25:01 [error] 26258#0: *139856000 [lua] handler.lua:329: failed broadcasting upstream create to workers: failed posting event "upstreams" by "balancer"; no memory, context: ngx.timer
2019/10/16 15:25:01 [error] 26263#0: *139856023 [lua] events.lua:273: post(): worker-events: failed posting event "upstreams" by "balancer"; no memory, context: ngx.timer
2019/10/16 15:25:01 [error] 26263#0: *139856023 [lua] handler.lua:329: failed broadcasting upstream create to workers: failed posting event "upstreams" by "balancer"; no memory, context: ngx.timer
2019/10/16 15:25:01 [error] 26274#0: *139856882 [lua] events.lua:273: post(): worker-events: failed posting event "upstreams" by "balancer"; no memory, context: ngx.timer
2019/10/16 15:25:01 [error] 26274#0: *139856882 [lua] handler.lua:329: failed broadcasting upstream create to workers: failed posting event "upstreams" by "balancer"; no memory, context: ngx.timer
and addtional steps I did:
- dump by
kong config db_export kong.yml
- post kong.yml by the
/config
API - every 5s to repeat two steps
btw, I am not sure if it will show again.