upstream keepalive - call for testing

Maxim Dounin mdounin at mdounin.ru
Fri Aug 26 15:55:31 UTC 2011


Hello!

On Fri, Aug 26, 2011 at 07:54:34AM -0400, magicbear wrote:

[...]

> (gdb) bt
> #0  0x000000000040d661 in ngx_vslprintf (buf=0x7fff8f777bf5 "",
> last=0x7fff8f7783c0 "P\364z\363\346\177", fmt=0x4a5f34 "s\" failed",
> args=0x7fff8f777b90) at src/core/ngx_string.c:253
> #1  0x000000000040760f in ngx_log_error_core (level=3, log=0x2cd4400,
> err=14, fmt=0x4a5f2a "chmod() \"%s\" failed") at src/core/ngx_log.c:119
> #2  0x0000000000412bee in ngx_ext_rename_file (src=0x2518370,
> to=0x25fe1e8, ext=0x7fff8f7785c0) at src/core/ngx_file.c:545
> #3  0x00000000004755a7 in ngx_http_file_cache_update (r=0x280d420,
> tf=0x2518368) at src/http/ngx_http_file_cache.c:808
> #4  0x0000000000467958 in ngx_http_upstream_process_request
> (r=0x280d420) at src/http/ngx_http_upstream.c:2697
> #5  0x000000000046779d in ngx_http_upstream_process_upstream
> (r=0x280d420, u=0x25fde90) at src/http/ngx_http_upstream.c:2645
> #6  0x0000000000466cb2 in ngx_http_upstream_send_response (r=0x280d420,
> u=0x25fde90) at src/http/ngx_http_upstream.c:2330
> #7  0x00000000004651f2 in ngx_http_upstream_process_header (r=0x280d420,
> u=0x25fde90) at src/http/ngx_http_upstream.c:1630
> #8  0x0000000000463a90 in ngx_http_upstream_handler (ev=0x7fe796f2d6a0)
> at src/http/ngx_http_upstream.c:924

Backtrace looks unrelated to the problem I was thinking about, but 
may be indirectly caused by it due to memory corruption.

Please try the following patch for upstream keepalive module 
instead of the one I've posted earlier:

http://mdounin.ru/files/patch-nginx-keepalive-https-module2.txt

Maxim Dounin



More information about the nginx mailing list