Welcome! Log In Create A New Profile

Advanced

Re: gzip - unexplained side effects

November 18, 2011 11:50AM
I spent more time testing this particular issue. I believe that what appeared to be lost traffic is simply due to the shortened keepalives and the load balancer favoring keepalive connections over new connections. However, there still seems to be a link between gzip settings and the number of open connections (keepalives).

gzip on;
gzip_comp_level 1;
gzip_types text/javascript text/plain application/x-javascript;
gzip_disable "MSIE [1-6]\.(?!.*SV1)"
#gzip_buffers 64 4k;
#gzip_min_length 1100; #if it fits in one packet, no worries
#gzip_http_version 1.1;

I have confirmed that if any one of the three config lines at the bottom (the ones that are commented out) are present, the number of open connections drops from ~7600 to ~1300. Removing that line from the config and reloading restores normal operation. Strange.

Cheers,

Dean
Subject Author Posted

gzip - unexplained side effects

dbanks November 08, 2011 09:14PM

Re: gzip - unexplained side effects

Brian Akins November 09, 2011 06:58AM

Re: gzip - unexplained side effects

Igor Sysoev November 09, 2011 07:42AM

Re: gzip - unexplained side effects

dbanks November 09, 2011 02:09PM

Re: gzip - unexplained side effects

dbanks November 18, 2011 11:50AM

Re: gzip - unexplained side effects

dbanks November 18, 2011 02:00PM

Re: gzip - unexplained side effects

Maxim Dounin November 18, 2011 12:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 124
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready