Opened 3 years ago
Last modified 3 years ago
#2293 closed defect
Nginx 1.20.1 excessive memory usage — at Version 1
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | nginx-core | Version: | 1.19.x |
Keywords: | Cc: | ||
uname -a: |
bash-4.2$ uname -a
Linux tenant-router-7b95bc584c-s6mcx 5.4.17-2102.205.7.3.el7uek.x86_64 #2 SMP Fri Sep 17 16:52:13 PDT 2021 x86_64 x86_64 x86_64 GNU/Linux |
||
nginx -V: | nginx version: nginx/1.20.2 |
Description (last modified by )
Running Nginx 1.20.x with HTTP/2 traffic 225req/s, see memory usage keep increasing. In couple hours it reached 1.5GB and the memory never released.
We rolled back to 1.19.1 and memory is much better. But still slow memory leak as traffic runs.
The nginx.conf in 1.20.1 we have to replace http2_max_requests to use keep_alive due to the detective obsolete.
We have:
proxy_buffer off
proxy_cache off
From meminfo we still see cache usage is growing as traffic runs.
config for 1.20.x is attached.
Note:
See TracTickets
for help on using tickets.
Can't attach configuration. I will share that when it is needed.