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

   > You really clean up the lookup table? Check my diff above. This lookup 
table would grow indefinitely without bugfix.
   > And keep in mind that the memory would grow in a period because of pcre 
related cache.
   
   We did delete it, but I can retest it in your way. When did you stop 
growing? We stopped testing after increasing by more than 300 M
   
   Another problem is involved here. At present, Apisix does not have the logic 
to clear expired keys, which means that the shared memory will be filled sooner 
or later, leading to the loss of new indicator data
   
   So I think it is necessary to actively clean up shared memory and key_index 
when deleting route, or call the corresponding del method in prometheus.lua, or 
even reset method


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