kingluo commented on issue #7949:
URL: https://github.com/apache/apisix/issues/7949#issuecomment-1301719715

   > But when the lua_shared_dict(10m for prometheus-metrics) is used up, there 
whill still have errors like `*27324521 [lua] prometheus.lua:953: log_error(): 
Unexpected error adding a key: no memory while logging request,`. It looks like 
prometheus lib doesn't evict the oldest keys.
   
   How many such errors? It should evict the oldest keys. From the code, it try 
to evict key and retry for 30 times. Maybe the size of new key is too big?


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

Reply via email to