Welcome! Log In Create A New Profile

Advanced

limit_req truncating responses

September 27, 2009 05:59PM
Hello,
I'm seeing some undocumented behavior when using limit_req and limit_req_zone. It seems that connections that should be delayed are actually being truncated in the middle. I see this using multiple clients both as errors in the clients and by inspecting the actual file. I found a reference to another user seeing this here: http://www.ruby-forum.com/topic/173021 but I don't see anything there to help stop it.

I have configured my zone for now exactly as the docs:
limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;

and my location as:
limit_req zone=one burst=5000;

I run a series of file transfers and it cuts off at the same truncated file regardless if the burst is 5, 50, or 5000

I'm running .7.62 on RHEL.

Any suggestions on how to avoid the truncated files, and why the burst level seems to not have any effect?
Subject Author Posted

limit_req truncating responses

brianf September 27, 2009 05:59PM

Re: limit_req truncating responses

Maxim Dounin September 27, 2009 06:30PM

Re: limit_req truncating responses

brianf September 28, 2009 01:08AM

Re: limit_req truncating responses

brianf September 29, 2009 12:11AM

Re: limit_req truncating responses

Maxim Dounin September 29, 2009 03:44AM

Re: limit_req truncating responses

Igor Sysoev September 29, 2009 04:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
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