You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "kingluo (via GitHub)" <gi...@apache.org> on 2023/06/09 04:11:43 UTC
[GitHub] [apisix] kingluo commented on issue #9627: bug: apisix 内存管理-过期监控key不释放问题
kingluo commented on issue #9627:
URL: https://github.com/apache/apisix/issues/9627#issuecomment-1583946849
The metrics will be flushed (eventually) to shared memory, and the shared memory is [sized lru cache](https://github.com/knyar/nginx-lua-prometheus/pull/147) (i.e. eviction when the cache is full), which is not counted into the nginx memory, so no worry about the OOM.
The only worry point is the [lookup cache](https://github.com/knyar/nginx-lua-prometheus/blob/ec5e7024e1deaba6aecee51d614135268bf2f2f9/prometheus.lua#LL386C6-L386C6) for each metric instance, but that's also sized in the [latest version](https://github.com/knyar/nginx-lua-prometheus/pull/151).
Which version of APISIX do you use?
And show your configuration please.
--
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