Welcome! Log In Create A New Profile

Advanced

Re: nginx eval with memc set command very slowly

agentzh
March 11, 2010 10:12PM
On Tue, Mar 9, 2010 at 10:52 AM, agentzh <agentzh@gmail.com> wrote:
> On Mon, Mar 8, 2010 at 4:30 PM, yaoxinming <yaoxinming@gmail.com> wrote:
>> when use eval with memc  set(all dev by agentzh ) ,I feel the response is
>> very slowly,but get is very quickly,below is the configue
>>
>
> I'm guessing that it's caused by the "201 Created" status returned by
> the ngx_memc set command. According to the source of ngx_eval, it only
> accepts "200 OK". So in case of 201, it simply returns NGX_DECLINED,
> which *may* produce that hang.
>

I've reproduced this hang on my side and spent half of my day tracking
this issue. But it looked deeper than I had expected.

Using subrequests issued by echo_location and echo_location_async does
not trigger this hang, but "eval" does. I'm now guessing it has
something to do with subrequests issued from the rewrite phase because
the ngx_echo module starts subrequests in content handlers only.

I don't have enough time to track this further for now. Will get back
to this issue some time later. Sorry.

Cheers,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx eval with memc set command very slowly

yaoxinming March 08, 2010 03:34AM

Re: nginx eval with memc set command very slowly

agentzh March 08, 2010 03:46AM

Re: nginx eval with memc set command very slowly

agentzh March 08, 2010 09:58PM

Re: nginx eval with memc set command very slowly

agentzh March 11, 2010 10:12PM

Re: nginx eval with memc set command very slowly

agentzh March 11, 2010 10:14PM

Re: nginx eval with memc set command very slowly

agentzh April 10, 2010 10:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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