by devr » Fri Feb 17, 2012 1:40 am
Question to the general population that uses nginx.
I am doing a reverse proxy setup with nginx to subsonic. One of the options I am using for the URI I am proxying is "limit_rate 100k;". This is because I do not have a super fast internet connection, and I would prefer my connection get maxed out. So if my understanding is right, nginx will make the request tot he backend and pull it as quickly as it can. nginx will then temporarily spool it to a file, and service the client at the 'limit_rate' directive rate. When I take a look at my /var/log/nginx/error.log I see:$this->bbcode_second_pass_code('', '2012/02/16 20:32:22 [warn] 14470#0: *702 an upstream response is buffered to a temporary file /var/spool/nginx/proxy_temp/9/00/0000000009 while reading upstream, client:......')
So from the log entry looks as I expect it. But if I do an ls on the temporary file mentioned in the log, the file does not exist. If I do a 'find /var/spool/nginx -type f" there aren't any files at all. So I am kinda at a loss.... why isn't there a temporary spool file ?