Welcome! Log In Create A New Profile

Advanced

Re: upstream keepalive - call for testing

All files from this thread

File Name File Size   Posted by Date  
upstream.patch 2.3 KB open | download Matthieu Tourne 08/12/2011 Read message
ngx_http_upstream_keepalive.patch 542 bytes open | download Matthieu Tourne 08/12/2011 Read message
upstream.patch 2.6 KB open | download Matthieu Tourne 08/12/2011 Read message
August 26, 2011 07:54AM
http://m-b.cc/tmp/backtrace.txt

gdb `which nginx` core
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/sbin/nginx...done.
[New Thread 10718]

warning: Can't read pathname for load map: 输入/输出错误.
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
Reading symbols from /lib/x86_64-linux-gnu/libpcre.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libpcre.so.3
Reading symbols from /lib/libssl.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /lib/libssl.so.0.9.8
Reading symbols from /lib/libcrypto.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypto.so.0.9.8
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
Reading symbols from /usr/local/lib/libprofiler.so.0...done.
Loaded symbols for /usr/local/lib/libprofiler.so.0
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/local/lib/libunwind.so.7...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libunwind.so.7
Reading symbols from /usr/lib/x86_64-linux-gnu/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1
Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_compat.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1
Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_dns.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_dns.so.2
Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libresolv.so.2
Core was generated by `nginx:'.
Program terminated with signal 11, Segmentation fault.
#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
253 while (*p && buf < last) {
(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
#9 0x0000000000436596 in ngx_epoll_process_events (cycle=0x248ee50, timer=13, flags=1) at src/event/modules/ngx_epoll_module.c:635
#10 0x0000000000427710 in ngx_process_events_and_timers (cycle=0x248ee50) at src/event/ngx_event.c:245
#11 0x0000000000434506 in ngx_worker_process_cycle (cycle=0x248ee50, data=0x0) at src/os/unix/ngx_process_cycle.c:800
#12 0x000000000043114c in ngx_spawn_process (cycle=0x248ee50, proc=0x43434a <ngx_worker_process_cycle>, data=0x0, name=0x4a8f63 "worker process", respawn=-3) at src/os/unix/ngx_process.c:196
#13 0x0000000000433318 in ngx_start_worker_processes (cycle=0x248ee50, n=4, type=-3) at src/os/unix/ngx_process_cycle.c:360
#14 0x0000000000432996 in ngx_master_process_cycle (cycle=0x248ee50) at src/os/unix/ngx_process_cycle.c:136
#15 0x0000000000405739 in main (argc=1, argv=0x7fff8f778d68) at src/core/nginx.c:405
(gdb) backtrace full
#0 0x000000000040d661 in ngx_vslprintf (buf=0x7fff8f777bf5 <Address 0x7fff8f777bf5 out of bounds>, last=0x7fff8f7783c0 <Address 0x7fff8f7783c0 out of bounds>, fmt=0x4a5f34 "s\" failed", args=0x7fff8f777b90) at src/core/ngx_string.c:253
p = 0x0
zero = 32 ' '
d = 7
f = 6.8670184115474857e-320
scale = 2.9722451710386717e-316
len = 2147479551
slen = <error reading variable slen (Cannot access memory at address 0x7fff8f777b38)>
i64 = <error reading variable i64 (Cannot access memory at address 0x7fff8f777b30)>
ui64 = <error reading variable ui64 (Cannot access memory at address 0x7fff8f777b28)>
ms = 0
width = <error reading variable width (Cannot access memory at address 0x7fff8f777b20)>
sign = <error reading variable sign (Cannot access memory at address 0x7fff8f777b18)>
hex = <error reading variable hex (Cannot access memory at address 0x7fff8f777b10)>
max_width = <error reading variable max_width (Cannot access memory at address 0x7fff8f777b08)>
frac_width = <error reading variable frac_width (Cannot access memory at address 0x7fff8f777b00)>
n = 140629904076176
v = 0x2519f50
vv = 0x6c4f80
#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
args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fff8f778490, reg_save_area = 0x7fff8f7783d0}}
p = 0x7fff8f777bec <Address 0x7fff8f777bec out of bounds>
last = 0x7fff8f7783c0 <Address 0x7fff8f7783c0 out of bounds>
msg = 0x7fff8f777bec <Address 0x7fff8f777bec out of bounds>
errstr = <error reading variable errstr (Cannot access memory at address 0x7fff8f777bc0)>
#2 0x0000000000412bee in ngx_ext_rename_file (src=0x2518370, to=0x25fe1e8, ext=0x7fff8f7785c0) at src/core/ngx_file.c:545
name = <error reading variable name (Cannot access memory at address 0x7fff8f7784e0)>
err = <error reading variable err (Cannot access memory at address 0x7fff8f7784ec)>
cf = <error reading variable cf (Cannot access memory at address 0x7fff8f7784b0)>
#3 0x00000000004755a7 in ngx_http_file_cache_update (r=0x280d420, tf=0x2518368) at src/http/ngx_http_file_cache.c:808
fs_size = 0
rc = 4586997
uniq = <error reading variable uniq (Cannot access memory at address 0x7fff8f7785f8)>
fi = <error reading variable fi (Cannot access memory at address 0x7fff8f778530)>
c = <error reading variable c (Cannot access memory at address 0x7fff8f7785f0)>
ext = <error reading variable ext (Cannot access memory at address 0x7fff8f7785c0)>
cache = <error reading variable cache (Cannot access memory at address 0x7fff8f7785e8)>
#4 0x0000000000467958 in ngx_http_upstream_process_request (r=0x280d420) at src/http/ngx_http_upstream.c:2697
del = 140632646669984
tf = 0x0
p = 0x2519d00
u = 0x25fde90
#5 0x000000000046779d in ngx_http_upstream_process_upstream (r=0x280d420, u=0x25fde90) at src/http/ngx_http_upstream.c:2645
c = 0x7fe6f37b5390
#6 0x0000000000466cb2 in ngx_http_upstream_send_response (r=0x280d420, u=0x25fde90) at src/http/ngx_http_upstream.c:2330
tcp_nodelay = <error reading variable tcp_nodelay (Cannot access memory at address 0x7fff8f7786fc)>
n = <error reading variable n (Cannot access memory at address 0x7fff8f7786d0)>
rc = <error reading variable rc (Cannot access memory at address 0x7fff8f7786e8)>
p = <error reading variable p (Cannot access memory at address 0x7fff8f7786c0)>
c = <error reading variable c (Cannot access memory at address 0x7fff8f7786e0)>
clcf = <error reading variable clcf (Cannot access memory at address 0x7fff8f7786d8)>
#7 0x00000000004651f2 in ngx_http_upstream_process_header (r=0x280d420, u=0x25fde90) at src/http/ngx_http_upstream.c:1630
n = 402
rc = 0
c = 0x7fe6f37b5390
#8 0x0000000000463a90 in ngx_http_upstream_handler (ev=0x7fe796f2d6a0) at src/http/ngx_http_upstream.c:924
c = 0x7fe6f37af450
r = 0x280d420
ctx = 0x2cd4440
u = 0x25fde90
#9 0x0000000000436596 in ngx_epoll_process_events (cycle=0x248ee50, timer=13, flags=1) at src/event/modules/ngx_epoll_module.c:635
events = 1
revents = 5
instance = 1
i = 0
level = 140735600363552
err = 0
rev = 0x7fe796f2d6a0
wev = 0x7fe6f37c57d0
queue = 0x6d1f80
c = 0x7fe6f37b5390
#10 0x0000000000427710 in ngx_process_events_and_timers (cycle=0x248ee50) at src/event/ngx_event.c:245
flags = 1
timer = 13
delta = 1314359466746
#11 0x0000000000434506 in ngx_worker_process_cycle (cycle=0x248ee50, data=0x0) at src/os/unix/ngx_process_cycle.c:800
i = 0
c = 0x7fff8f778d60
#12 0x000000000043114c in ngx_spawn_process (cycle=0x248ee50, proc=0x43434a <ngx_worker_process_cycle>, data=0x0, name=0x4a8f63 "worker process", respawn=-3) at src/os/unix/ngx_process.c:196
on = 1
pid = 0
s = 0
#13 0x0000000000433318 in ngx_start_worker_processes (cycle=0x248ee50, n=4, type=-3) at src/os/unix/ngx_process_cycle.c:360
i = 0
ch = {command = 1, pid = 4399669, slot = 21, fd = 39214374}
#14 0x0000000000432996 in ngx_master_process_cycle (cycle=0x248ee50) at src/os/unix/ngx_process_cycle.c:136
title = 0x0
p = 0x0
size = 0
i = 0
n = 0
sigio = 0
set = {__val = {0 <repeats 16 times>}}
itv = {it_interval = {tv_sec = 0, tv_usec = 0}, it_value = {tv_sec = 0, tv_usec = 0}}
live = 0
delay = 0
ls = 0x0
ccf = 0x0
#15 0x0000000000405739 in main (argc=1, argv=0x7fff8f778d68) at src/core/nginx.c:405
i = 0
log = 0x0
cycle = 0x0
init_cycle = {conf_ctx = 0x0, pool = 0x248e240, log = 0x6cfd80, new_log = {log_level = 0, file = 0x0, connection = 0, handler = 0, data = 0x0, action = 0x0}, files = 0x0, free_connections = 0x0, free_connection_n = 0,
reusable_connections_queue = {prev = 0x0, next = 0x0}, listening = {elts = 0x0, nelts = 0, size = 0, nalloc = 0, pool = 0x0}, pathes = {elts = 0x0, nelts = 0, size = 0, nalloc = 0, pool = 0x0}, open_files = {last = 0x0,
part = {elts = 0x0, nelts = 0, next = 0x0}, size = 0, nalloc = 0, pool = 0x0}, shared_memory = {last = 0x0, part = {elts = 0x0, nelts = 0, next = 0x0}, size = 0, nalloc = 0, pool = 0x0}, connection_n = 0, files_n = 0,
connections = 0x0, read_events = 0x0, write_events = 0x0, old_cycle = 0x0, conf_file = {len = 0, data = 0x0}, conf_param = {len = 0, data = 0x0}, conf_prefix = {len = 0, data = 0x0}, prefix = {len = 0, data = 0x0},
lock_file = {len = 0, data = 0x0}, hostname = {len = 0, data = 0x0}}
ccf = 0x0
(gdb)
Subject Author Posted

upstream keepalive - call for testing

Maxim Dounin August 01, 2011 12:10PM

Re: upstream keepalive - call for testing

liseen August 02, 2011 09:38AM

Re: upstream keepalive - call for testing

Maxim Dounin August 02, 2011 01:34PM

Re: upstream keepalive - call for testing

António P. P. Almeida August 02, 2011 11:28AM

Re: upstream keepalive - call for testing

Maxim Dounin August 02, 2011 01:38PM

Re: upstream keepalive - call for testing

David Yu August 02, 2011 01:44PM

Re: upstream keepalive - call for testing

Maxim Dounin August 02, 2011 01:52PM

Re: upstream keepalive - call for testing

David Yu August 02, 2011 01:54PM

Re: upstream keepalive - call for testing

Maxim Dounin August 02, 2011 02:48PM

Re: upstream keepalive - call for testing

David Yu August 02, 2011 03:10PM

Re: upstream keepalive - call for testing

liseen August 02, 2011 11:58PM

Re: upstream keepalive - call for testing

splitice August 03, 2011 01:22AM

Re: upstream keepalive - call for testing

Matthieu Tourne August 03, 2011 08:08PM

Re: upstream keepalive - call for testing

Maxim Dounin August 04, 2011 02:54AM

Re: upstream keepalive - call for testing

splitice August 08, 2011 12:46AM

Re: upstream keepalive - call for testing

Maxim Dounin August 08, 2011 05:24AM

Re: upstream keepalive - call for testing

splitice August 08, 2011 05:36AM

Re: upstream keepalive - call for testing

splitice August 08, 2011 05:38AM

Re: upstream keepalive - call for testing Attachments

Matthieu Tourne August 12, 2011 03:34PM

Re: upstream keepalive - call for testing

Maxim Dounin August 12, 2011 04:00PM

Re: upstream keepalive - call for testing

Matthieu Tourne August 12, 2011 05:14PM

Re: upstream keepalive - call for testing

Maxim Dounin August 12, 2011 06:28PM

Re: upstream keepalive - call for testing Attachments

Matthieu Tourne August 12, 2011 06:44PM

Re: upstream keepalive - call for testing

Matthieu Tourne August 16, 2011 07:32PM

Re: upstream keepalive - call for testing

Maxim Dounin August 16, 2011 08:24PM

Re: upstream keepalive - call for testing

magicbear August 24, 2011 01:11PM

Re: upstream keepalive - call for testing

Maxim Dounin August 24, 2011 08:06PM

Re: upstream keepalive - call for testing

sv August 24, 2011 09:18PM

Re: upstream keepalive - call for testing

magicbear August 25, 2011 01:30AM

Re: upstream keepalive - call for testing

magicbear August 26, 2011 03:08AM

Re: upstream keepalive - call for testing

Maxim Dounin August 26, 2011 05:40AM

Re: upstream keepalive - call for testing

magicbear August 26, 2011 07:01AM

Re: upstream keepalive - call for testing

magicbear August 26, 2011 07:04AM

Re: upstream keepalive - call for testing

magicbear August 26, 2011 07:28AM

Re: upstream keepalive - call for testing

Maxim Dounin August 26, 2011 07:38AM

upstream keepalive close connections actively

cfsego August 02, 2011 10:50PM

Re: upstream keepalive close connections actively

Maxim Dounin August 03, 2011 03:40AM

RE: upstream keepalive close connections actively

Charles Chen August 03, 2011 05:54AM

Re: upstream keepalive - call for testing

magicbear August 26, 2011 07:54AM

Re: upstream keepalive - call for testing

Maxim Dounin August 26, 2011 11:56AM

Re: upstream keepalive - call for testing

magicbear August 26, 2011 12:17PM

Re: upstream keepalive - call for testing

Maxim Dounin August 26, 2011 02:08PM

Re: upstream keepalive - call for testing

magicbear August 26, 2011 03:00PM

Re: upstream keepalive - call for testing

magicbear August 26, 2011 12:28PM

Re: upstream keepalive - call for testing

magicbear August 26, 2011 01:00PM

Re: upstream keepalive - call for testing

magicbear August 26, 2011 01:51PM

Re: upstream keepalive - call for testing

magicbear August 28, 2011 01:07PM

Re: upstream keepalive - call for testing

magicbear August 28, 2011 01:10PM

Re: upstream keepalive - call for testing

Maxim Dounin August 28, 2011 09:48PM

Re: upstream keepalive - call for testing

magicbear August 31, 2011 04:04PM

Re: upstream keepalive - call for testing

splitice August 31, 2011 09:58PM

Re: upstream keepalive - call for testing

magicbear September 01, 2011 09:38AM

Re: upstream keepalive - call for testing

magicbear September 04, 2011 01:33PM

Re: upstream keepalive - call for testing

Maxim Dounin September 04, 2011 02:22PM

Re: upstream keepalive - call for testing

magicbear September 04, 2011 02:34PM

Re: upstream keepalive - call for testing

Maxim Dounin September 05, 2011 03:10AM

Re: upstream keepalive - call for testing

ビリビリⅤ September 05, 2011 11:44AM

Re: upstream keepalive - call for testing

Maxim Dounin September 05, 2011 02:04PM

Re: upstream keepalive - call for testing

magicbear September 06, 2011 02:39AM

Re: upstream keepalive - call for testing

Matthieu Tourne September 07, 2011 07:36PM

Re: upstream keepalive - call for testing

Maxim Dounin September 08, 2011 05:28AM

Re: upstream keepalive - call for testing

Maxim Dounin September 08, 2011 11:44AM

Re: upstream keepalive - call for testing

Matthieu Tourne September 08, 2011 06:06PM

Re: upstream keepalive - call for testing

magicbear September 14, 2011 06:54PM

Re: upstream keepalive - call for testing

magicbear September 15, 2011 01:52PM

Re: upstream keepalive - call for testing

splitice September 15, 2011 09:44PM

Re: upstream keepalive - call for testing

philipp December 29, 2011 07:47AM

Re: upstream keepalive - call for testing

Maxim Dounin December 29, 2011 10:06AM

Re: upstream keepalive - call for testing

alexscott March 08, 2012 09:30AM

Re: upstream keepalive - call for testing

Andrew Alexeev March 09, 2012 01:20AM

Re: upstream keepalive - call for testing

alexscott March 12, 2012 10:35AM

Re: upstream keepalive - call for testing

Maxim Dounin March 12, 2012 10:56AM

Re: upstream keepalive - call for testing

alexscott March 12, 2012 01:40PM

Re: upstream keepalive - call for testing

alexscott March 12, 2012 03:55PM

Re: upstream keepalive - call for testing

Maxim Dounin March 12, 2012 02:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 272
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready