[PATCH] Request hang when cache_lock is used in subrequests

Yichun Zhang (agentzh) agentzh at gmail.com
Sat Nov 29 05:38:43 UTC 2014


Hi Maxim!

On Thu, Nov 27, 2014 at 7:31 AM, Maxim Dounin wrote:
> Yichun, I've spent some time looking in this, and I don't see how
> it can cause infinite hang at least with stock nginx modules.  It
> certainly can cause suboptimal behaviour though, both with proxy
> cache locks and with AIO.
>

You're right. I'm not using the stock nginx modules nor the stock
subrequest model :P

> Here are two patches to address this (and also logging issues with
> subrequests):
>

I've just confirmed that you patches fix my issue. Thank you very much!

Best regards,
-agentzh



More information about the nginx-devel mailing list