nginx-1.0.4

Maxim Dounin mdounin at mdounin.ru
Sat Jun 18 03:35:31 MSD 2011


Hello!

On Thu, Jun 16, 2011 at 10:20:53AM -0400, brunohardhouse wrote:

[...]

> 2011/06/14 23:41:22 [debug] 4717#0: *27130 http file cache expired: 4 1307706389 1308105682

[...]

> 2011/06/14 23:41:22 [info] 4717#0: *27130 client closed prematurely connection while connecting to upstream, ...

[...]

> 2011/06/14 23:41:22 [debug] 4717#0: *27130 http proxy status 200 "200 OK"
> 2011/06/14 23:41:22 [debug] 4717#0: *27130 http proxy header: "Cache-Control: no-cache"

[...]

> 2011/06/14 23:41:22 [debug] 4717#0: *27130 http file cache cleanup
> 2011/06/14 23:41:22 [alert] 4717#0: *27130 stalled cache updating ...

Thank you for details, I was able to reproduce this issue here.  
Key points are:

1. Existing expired cache entry (i.e. cache updating).

2. Client abort before nginx was able to receive response header 
from upstream.

3. Non-cacheable response from upstream.

I'll take a look how to properly fix this.

Maxim Dounin



More information about the nginx mailing list