Welcome! Log In Create A New Profile

Advanced

Re: Problem with connection rate limiting and backend redirects

Maxim Dounin
October 23, 2009 04:00PM
Hello!

On Fri, Oct 23, 2009 at 08:39:46PM +0200, Daniel Collis-puro wrote:

> I love nginx! We're using as a caching front-end proxy in front of our
> wordpress mu at http://blogs.law.harvard.edu/, and it's enabled us to
> handle MUCH more traffic on less hardware. Roxors!
>
> Anyway - I discovered an issue with connection rate limiting and backend
> redirects.
>
> When the backend issues a redirect for a page containing a large amount
> of html / xml content, the content of the subsequent 200 status request
> may get truncated by nginx. I had fairly aggressive rules to the effect
> of:
>
> limit_req_zone $binary_remote_addr zone=pagereqzone:10m rate=3r/s;
> limit_req zone=pagereqzone burst=8;

Either use "limit_req ... nodelay" or upgrade/patch nginx. This
problem was fixed 0.8.5, but the fix isn't yet merged into stable.

Maxim Dounin
Subject Author Posted

Problem with connection rate limiting and backend redirects

Daniel Collis-puro October 23, 2009 02:48PM

Re: Problem with connection rate limiting and backend redirects

Maxim Dounin October 23, 2009 04:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready