Sn0rt commented on issue #9627: URL: https://github.com/apache/apisix/issues/9627#issuecomment-1882931505
I'll re-evaluate and the fault report of my task is wrong. 1. First of all, it is true that multiple changes to the upstream will affect the metric, but these metrics are all placed in the share memory. If the share dict is full, it will be automatically evicted according to LRU. 2. The second one has no evidence that oom is caused by prometheus > ngx.shared.DICT.set > syntax: success, err, forcible = ngx.shared.DICT:set(key, value, exptime?, flags?) > > context: init_by_lua*, set_by_lua*, rewrite_by_lua*, access_by_lua*, content_by_lua*, header_filter_by_lua*, body_filter_by_lua*, log_by_lua*, ngx.timer.*, balancer_by_lua*, ssl_certificate_by_lua*, ssl_session_fetch_by_lua *, ssl_session_store_by_lua*, ssl_client_hello_by_lua* > > Unconditionally sets a key-value pair into the shm-based dictionary ngx.shared.DICT. Returns three values: > > success: boolean value to indicate whether the key-value pair is stored or not. > err: textual error message, can be "no memory". > forcible: a boolean value to indicate whether other valid items have been removed forcibly when out of storage in the shared memory zone. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
