﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1347	improve slice subrequest memory free	cjhust@…		"server {
  listen 9001;
  server_name localhost;

  location / {
    root html;
  }
}

server {
  listen 9000;
  proxy_max_temp_file_size 0;
  location / {
    slice 64k;
    proxy_set_header range $slice_range;
    proxy_pass ​http://127.0.0.1:9001;
  }
}


#curl ​http://127.0.0.1:9000/1G.mp4 -o /dev/null -v --limit-rate 3000000
the memory will keep growing.


after patch ​https://github.com/cjhust/ngx_mod/blob/master/patches/nginx-1.12.1-slice-memory-free.patch
the memory will not keep growing.
this patch also runs for a good while on our CDN system."	enhancement	closed	minor		other	1.12.x	duplicate			3.10.0-327.22.2.el7.x86_64	nginx version: nginx/1.12.1 configure arguments: --prefix=/root/cjhust --with-debug --with-http_stub_status_module --with-http_slice_module --with-pcre=addons/pcre-8.40
