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/03/28 01:18:05 UTC

[GitHub] [apisix] jagerzhang commented on issue #6725: help request: 内存持续增涨OOM

jagerzhang commented on issue #6725:
URL: https://github.com/apache/apisix/issues/6725#issuecomment-1080081313


   @pguokun 我在腾讯云TKE(K8S)也发现有这个问题,内存增长趋于线性,我们这边用的插件如下:
   
   全局插件:
   - request-id
   - resonset-rewrite
   - kafka-logger
   
   路由插件:
   - proxy-rewrite (5%)
   - consumer-restriction (70%)
   - hmac(70%)
   - limit-count (70%)
   
   ![image](https://user-images.githubusercontent.com/9711651/160310159-bb340827-cbf4-47b6-9097-d7f8530d2aa4.png)
   ![image](https://user-images.githubusercontent.com/9711651/160310128-72dd4e65-a495-4e5a-825a-9b0d584b1971.png)
   
   不太清楚这里面有没有GC机制,如果有GC,GC的触发条件是不是内存占用到一定程度时才触发?而运行在容器里面,程序看到的内存其实是宿主机的内存,而非容器limit内存,会导致永远不可能触发GC呢?目前Python3.7及以下版本就有这个问题,看到的是宿主机的资源,导致GC不会被主动执行。
   
   以上,仅供参考哈~


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