[PATCH] Request hang when cache_lock is used in subrequests

Maxim Dounin mdounin at mdounin.ru
Tue Dec 2 02:58:08 UTC 2014


Hello!

On Fri, Nov 28, 2014 at 09:38:43PM -0800, Yichun Zhang (agentzh) wrote:

> 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!

Committed, thanks for testing.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list