nginx eval with memc set command very slowly

agentzh agentzh at
Tue Mar 9 05:52:46 MSK 2010

On Mon, Mar 8, 2010 at 4:30 PM, yaoxinming <yaoxinming at> 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'm currently in the Hangzhou city and far from my laptop in Beijing.
So I can't confirm this right now. I'll look into this and hopefully
do a fix in my branch of ngx_eval if it's indeed the case.

Thanks for the report!

More information about the nginx mailing list