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/06/16 10:38:15 UTC

[GitHub] [apisix] kongjun01 opened a new issue, #7264: help request: prometheus error, `no memory while logging request`

kongjun01 opened a new issue, #7264:
URL: https://github.com/apache/apisix/issues/7264

   ### Description
   
   The nginx configuration is set to the `lua_shared_dict prometheus-metrics 200m`, and after running for about 1 month, the prometheus plugin reports an error: `Unexpected error adding a key: no memory while logging request`. When the prometheus data is consumed, will the corresponding memory data be cleared?
   
   ### Environment
   
   - APISIX version (run `apisix version`):2.10.5
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tokers commented on issue #7264: help request: prometheus error, `no memory while logging request`

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7264:
URL: https://github.com/apache/apisix/issues/7264#issuecomment-1158370769

   The shared memory used to store Prometheus metrics is pre-allocated and the size is fixed, so when you have more and more routes, the number of metrics will be tremendous. You may need to calculate a proper size to store the metrics.


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


[GitHub] [apisix] kongjun01 closed issue #7264: help request: prometheus error, `no memory while logging request`

Posted by GitBox <gi...@apache.org>.
kongjun01 closed issue #7264: help request: prometheus error, `no memory while logging request`
URL: https://github.com/apache/apisix/issues/7264


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


[GitHub] [apisix] kongjun01 commented on issue #7264: help request: prometheus error, `no memory while logging request`

Posted by GitBox <gi...@apache.org>.
kongjun01 commented on issue #7264:
URL: https://github.com/apache/apisix/issues/7264#issuecomment-1158527784

   ok


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