Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread fffffffffffff
On windows, cache files will become less, all cache files total size is 2G, I set max_size=20g,on linux it's ok Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268938,268948#msg-268948 ___ nginx mailing list nginx@nginx.org http://mailman.ngi

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread fffffffffffff
Ok, I think i know why , other question, why the cache files in the directory will become less? I set inactive=7d and proxy_cache_revalidate on; already Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268938,268947#msg-268947 ___ nginx maili

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread fffffffffffff
I run iftop on nginx, you can look the capture image http://i.stack.imgur.com/bZmVI.png Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268938,268946#msg-268946 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread Valentin V. Bartenev
On Sunday 14 August 2016 06:28:52 f wrote: > yes, this is not a problem of compression, this is problem of proxy_cache, > when i disable proxy_cache,RX=TX > It's not clear what do you measure with iftop, even on which machine you have run it. In case of proxying the data are receivi

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread fffffffffffff
yes, this is not a problem of compression, this is problem of proxy_cache, when i disable proxy_cache,RX=TX Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268938,268943#msg-268943 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.o

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread Valentin V. Bartenev
On Sunday 14 August 2016 04:11:43 itpp2012 wrote: > When compressing (nginx) an already compressed stream (backend) that stream > usually gets bigger. > nginx doesn't use compression for already compressed responses. wbr, Valentin V. Bartenev ___ ng

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread itpp2012
When compressing (nginx) an already compressed stream (backend) that stream usually gets bigger. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268938,268941#msg-268941 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/

proxy_cache:Why Receive >Transmit?

2016-08-13 Thread fffffffffffff
structure: nginx<->backend server the nginx and backendserver enable gzip. nginx.conf: worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; worker_rlimit_nofile 1024; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_t