You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "jianlong0808 (via GitHub)" <gi...@apache.org> on 2026/07/31 07:20:16 UTC

[I] bug: memory leak [apisix]

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

   ### Current Behavior
   
   memory increase always, 无法理解
   
   <img width="5112" height="1708" alt="Image" src="https://github.com/user-attachments/assets/e63e26e8-c705-4ddc-a5e6-9d502a9fc926" />
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   helm deployed, chart version 2.12.6
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.14.1-ubuntu
   - Operating system (run `uname -a`): Linux apisix-5fcbddfb59-bskdt 5.10.134-18.al8.x86_64 #1 SMP Fri Dec 13 16:56:53 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx version: openresty/1.27.1.2
   built by gcc 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
   built with OpenSSL 3.4.1 11 Feb 2025
   TLS SNI support enabled
   configure arguments: --prefix=/usr/local/openresty/nginx --with-cc-opt='-O2 -DAPISIX_RUNTIME_VER=1.3.2 -DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/zlib/include -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl3/include' --add-module=../ngx_devel_kit-0.3.3 --add-module=../echo-nginx-module-0.63 --add-module=../xss-nginx-module-0.06 --add-module=../ngx_coolkit-0.2 --add-module=../set-misc-nginx-module-0.33 --add-module=../form-input-nginx-module-0.12 --add-module=../encrypted-session-nginx-module-0.09 --add-module=../srcache-nginx-module-0.33 --add-module=../ngx_lua-0.10.28 --add-module=../ngx_lua_upstream-0.07 --add-module=../headers-more-nginx-module-0.37 --add-module=../array-var-nginx-module-0.06 --add-module=../memc-nginx-module-0.20 --add-module=../redis2-nginx-module-0.15 --add-module=../redis-nginx-module-0.3.9 --add-module=../ngx_stream_lua-0.0.16 --with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib -Wl,-rpath,/usr/local/openresty/wasmtime-c-api/li
 b -L/usr/local/openresty/zlib/lib -L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl3/lib -Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl3/lib' --add-module=/tmp/tmp.iBso3vORdI/openresty-1.27.1.2/../mod_dubbo-1.0.2 --add-module=/tmp/tmp.iBso3vORdI/openresty-1.27.1.2/../ngx_multi_upstream_module-1.3.2 --add-module=/tmp/tmp.iBso3vORdI/openresty-1.27.1.2/../apisix-nginx-module-1.19.2 --add-module=/tmp/tmp.iBso3vORdI/openresty-1.27.1.2/../apisix-nginx-module-1.19.2/src/stream --add-module=/tmp/tmp.iBso3vORdI/openresty-1.27.1.2/../apisix-nginx-module-1.19.2/src/meta --add-module=/tmp/tmp.iBso3vORdI/openresty-1.27.1.2/../wasm-nginx-module-0.7.0 --add-module=/tmp/tmp.iBso3vORdI/openresty-1.27.1.2/../lua-var-nginx-module-v0.5.3 --add-module=/tmp/tmp.iBso3vORdI/openresty-1.27.1.2/../lua-resty-events-0.2.0 --with-poll_module --with-pcre-jit --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-http_v2_mod
 ule --with-http_v3_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-http_stub_status_module --with-http_realip_module --with-http_addition_module --with-http_auth_request_module --with-http_secure_link_module --with-http_random_index_module --with-http_gzip_static_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-threads --with-compat --with-stream --with-http_ssl_module
   - 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


Re: [I] bug: memory leak [apisix]

Posted by "guoqqqi (via GitHub)" <gi...@apache.org>.
guoqqqi commented on issue #13768:
URL: https://github.com/apache/apisix/issues/13768#issuecomment-6493414977

   Hi, @jianlong0808  I'd like to clarify a few details with you:
   1. Could you share the configuration file used for your APISIX deployment and let us know how many worker processes are enabled?
   2. Are you using any logging plugins? Which plugins are currently enabled?
   3. Have you checked the APISIX logs for any relevant error messages?
   4. Could you provide a memory dump from the machine running APISIX so we can investigate its current memory usage?
   5. Is this issue still occurring?
   
   cc @LiteSun PTAL


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


Re: [I] bug: memory leak [apisix]

Posted by "jianlong0808 (via GitHub)" <gi...@apache.org>.
jianlong0808 commented on issue #13768:
URL: https://github.com/apache/apisix/issues/13768#issuecomment-5140415812

   是prometheus的指标数据泄露???
   
       luaSharedDicts:
         - name: prometheus-metrics
           size: 512m
         - name: prometheus-cache
           size: 50m
       metaLuaSharedDicts:
         - name: prometheus-cache
           size: 64m
   


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


Re: [I] bug: memory leak [apisix]

Posted by "juzhiyuan (via GitHub)" <gi...@apache.org>.
juzhiyuan commented on issue #13768:
URL: https://github.com/apache/apisix/issues/13768#issuecomment-5148873219

   There are several similar issues (https://github.com/apache/apisix/issues/12275#issuecomment-4988690889) and fix (https://github.com/apache/apisix/pull/13708) will be included in the next release (release datetime not confirmed yet).


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