Why local ports increased so much when update from 1.0.15 to 1.2.8

2013-05-06 Thread selphon
Recently, I updated nginx from 1.0.15 to 1.2.8, and find that the ports(shown by ss -s) increase much as below: nginx/1.0.15 Total: 21696 (kernel 22773) TCP: 111474 (estab 21422, closed 86149, orphaned 3803, synrecv 0, timewait 86145/0), ports 1417 nginx/1.2.8 Total: 21579 (kernel 22349) TCP:

Re: How to make nginx establish persistent connections with squid?

2013-03-28 Thread selphon
Thank you~ As the test show, squid can make keepalive connections base on HTTP/1.0, it is a character of squid 2.7.9. Unfortunately, nginx can not make keepalive connections with squid 2.7.9, I think. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237666,237869#msg-237869 _

Re: How to make nginx establish persistent connections with squid?

2013-03-24 Thread selphon
Hi, Maxim Dounin I revise the topology: chrome --> squid:80 --> origin server(nginx :80) and make 5 requests,the squid log shows: 192.168.70.160 - - [22/Mar/2013:15:41:41 +0800] "GET http://test.cache.com/p3.jpg?tt=2013032201 HTTP/1.1" 304 365 "http://test.cache.com/p3.jpg?tt=2013032201"; "Mozi

Re: How to make nginx establish persistent connections with squid?

2013-03-24 Thread selphon
Thank you, Maxim Dounin. I see. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237666,237713#msg-237713 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

How to make nginx establish persistent connections with squid?

2013-03-22 Thread selphon
hi, I use nginx as load balance and forward request to squid use http/1.1, the topology is below: chrome ---> nginx(:80) ---> squid(:8080) ---> origin server(nginx :80) the nginx configuration: upstream backend { server 192.168.13.210:80; keepalive 10; } server { listen 80 def