Welcome! Log In Create A New Profile

Advanced

Re: limit issue, i think it's a bug

November 26, 2011 07:22AM
Maxim Dounin Wrote:
> How do you test it?

I've been testing it with Siege, but I can actually generate error 503 responses just by refreshing my web browser fast enough. My results with Siege are somewhat random; sometimes the very first request fails, then a couple will pass, then another will fail, all within a couple seconds. That's with my rate set to 15r/s, which should be more than enough.. in Siege I'm only using 5 concurrent users with 1 request per second, yet it still fails, often on the first or second hit. In my browser, it's a bit more reliable; I have a simple page which makes 2 ajax requests; the 2nd ajax request will always fail.

As soon as I remove the limit_req line, I can flood my server with as many requests as Siege can handle and it never generates a 503, so I know that the errors aren't being caused by something else. I'm not sure why the limit_req isn't working properly though.
Subject Author Posted

limit issue, i think it's a bug

websun November 26, 2009 03:23AM

Re: limit issue, i think it's a bug

talisto November 26, 2011 05:03AM

Re: limit issue, i think it's a bug

Maxim Dounin November 26, 2011 05:40AM

Re: limit issue, i think it's a bug

talisto November 26, 2011 07:22AM

Re: limit issue, i think it's a bug

Maxim Dounin November 26, 2011 03:30PM

Re: limit issue, i think it's a bug

stefancaunter November 26, 2011 08:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready