ccxhwmy commented on issue #5837: URL: https://github.com/apache/apisix/issues/5837#issuecomment-1173101117
> > @tzssangglass Could you share your proposal? > > we can use `ngx.shared.DICT.capacity` and `ngx.shared.DICT.free_space` to monitor a `ngx.shared.DICT`? I found that nginx adopts a way of pre-allocating memory for shared DICT, the smallext granularity is page, ranther than each allocation per use. The value of `ngx.shared.DICT.capacity` is accurate, but `ngx.shared.DICT.free_space` is the value left after the acquired pre-allocated memory, so there is a certain inconsistency in fine-grained `ngx.shared.DICT.free_space` accurate. -- 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]
