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 2022/11/03 07:11:41 UTC
[GitHub] [apisix] kingluo commented on issue #7949: bug: As route and stream keep creating and deleting, the memory keeps growing
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org