Keep Alive piles up

meto nginx-forum at nginx.us
Sat Jun 27 14:02:00 MSD 2009


Ok, grate! Without dh_strip package weighs 14MB and current coredumps became readable. Here it is:

warning: .dynamic section for "/usr/lib/libcrypto.so.0.9.8" is not at the expected address (wrong library or version mismatch?)
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/libpcre.so.3...done.
Loaded symbols for /usr/lib/libpcre.so.3
Reading symbols from /usr/lib/libssl.so.0.9.8...done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `nginx: worker pr'.
Program terminated with signal 11, Segmentation fault.

#0  0x000000000045dae4 in ngx_http_upstream_init (r=0x767b80) at src/http/ngx_http_upstream.c:537
537     src/http/ngx_http_upstream.c: No such file or directory.
        in src/http/ngx_http_upstream.c
(gdb) bt
#0  0x000000000045dae4 in ngx_http_upstream_init (r=0x767b80) at src/http/ngx_http_upstream.c:537
#1  0x0000000000454a00 in ngx_http_read_client_request_body (r=0x767b80, post_handler=0x45d414 )
    at src/http/ngx_http_request_body.c:57
#2  0x000000000049386d in ngx_http_fastcgi_handler (r=0x767b80) at src/http/modules/ngx_http_fastcgi_module.c:600
#3  0x000000000043e7b4 in ngx_http_core_content_phase (r=0x767b80, ph=0x96db98) at src/http/ngx_http_core_module.c:1257
#4  0x000000000043d56c in ngx_http_core_run_phases (r=0x767b80) at src/http/ngx_http_core_module.c:796
#5  0x000000000043d4e8 in ngx_http_handler (r=0x767b80) at src/http/ngx_http_core_module.c:779
#6  0x000000000044a87e in ngx_http_process_request (r=0x767b80) at src/http/ngx_http_request.c:1560
#7  0x00000000004492b3 in ngx_http_process_request_headers (rev=0x9aa210) at src/http/ngx_http_request.c:1022
#8  0x0000000000448ac3 in ngx_http_process_request_line (rev=0x9aa210) at src/http/ngx_http_request.c:832
#9  0x0000000000447f9e in ngx_http_init_request (rev=0x9aa210) at src/http/ngx_http_request.c:508
#10 0x0000000000427aec in ngx_event_process_posted (cycle=0x6e9090, posted=0x6c86a8) at src/event/ngx_event_posted.c:39
#11 0x00000000004258a9 in ngx_process_events_and_timers (cycle=0x6e9090) at src/event/ngx_event.c:272
#12 0x0000000000431caa in ngx_worker_process_cycle (cycle=0x6e9090, data=0x0) at src/os/unix/ngx_process_cycle.c:775
#13 0x000000000042eb31 in ngx_spawn_process (cycle=0x6e9090, proc=0x431b2d , data=0x0, name=0x4a0100 "worker process", respawn=3)
    at src/os/unix/ngx_process.c:194
#14 0x000000000043166e in ngx_reap_children (cycle=0x6e9090) at src/os/unix/ngx_process_cycle.c:577
#15 0x000000000043047c in ngx_master_process_cycle (cycle=0x6e9090) at src/os/unix/ngx_process_cycle.c:161
#16 0x00000000004054ee in main (argc=1, argv=0x7fff3970f7d8) at src/core/nginx.c:382
(gdb) bt full
#0  0x000000000045dae4 in ngx_http_upstream_init (r=0x767b80) at src/http/ngx_http_upstream.c:537
        host = (ngx_str_t *) 0x6f7198
        i = 7773440
        c = (ngx_connection_t *) 0x97d600
        ctx = (ngx_resolver_ctx_t *) 0x30
        temp = {next = 0x7fff3970ee60, resolver = 0xff0a000000000000, udp_connection = 0x0, ident = 139814882679264, state = 4096, type = 0, name = {
    len = 140734157092816, data = 0x0}, naddrs = 0, addrs = 0x7f29303c2360, addr = 190, handler = 0x7fff3970ee80, data = 0x0, timeout = 4375161,
  quick = 9053088, recursion = 4096, event = 0x6f6e10}
        cln = (ngx_http_cleanup_t *) 0x76a3f0
        u = (ngx_http_upstream_t *) 0x769d20
        clcf = (ngx_http_core_loc_conf_t *) 0x755610
        uscf = (ngx_http_upstream_srv_conf_t *) 0x0
        uscfp = (ngx_http_upstream_srv_conf_t **) 0x6f61d0
        umcf = (ngx_http_upstream_main_conf_t *) 0x30
#1  0x0000000000454a00 in ngx_http_read_client_request_body (r=0x767b80, post_handler=0x45d414 )
    at src/http/ngx_http_request_body.c:57
        preread = 7690488
        size = 7299536
        b = (ngx_buf_t *) 0x100
        cl = (ngx_chain_t *) 0x408763
        next = (ngx_chain_t **) 0x7fff3970ef50
        tf = (ngx_temp_file_t *) 0x6f7098
        rb = (ngx_http_request_body_t *) 0x6f7198
        clcf = (ngx_http_core_loc_conf_t *) 0x6f61d0
#2  0x000000000049386d in ngx_http_fastcgi_handler (r=0x767b80) at src/http/modules/ngx_http_fastcgi_module.c:600
        rc = 7680928
        u = (ngx_http_upstream_t *) 0x769d20
        f = (ngx_http_fastcgi_ctx_t *) 0x6f7038
        flcf = (ngx_http_fastcgi_loc_conf_t *) 0x755c10
#3  0x000000000043e7b4 in ngx_http_core_content_phase (r=0x767b80, ph=0x96db98) at src/http/ngx_http_core_module.c:1257
        root = 7764864
        rc = 9886592
        path = {len = 9886568, data = 0xfffffffffffffffe }
#4  0x000000000043d56c in ngx_http_core_run_phases (r=0x767b80) at src/http/ngx_http_core_module.c:796
        rc = -2
        ph = (ngx_http_phase_handler_t *) 0x96da90
        cmcf = (ngx_http_core_main_conf_t *) 0x6ea250
#5  0x000000000043d4e8 in ngx_http_handler (r=0x767b80) at src/http/ngx_http_core_module.c:779
        cmcf = (ngx_http_core_main_conf_t *) 0x7f293170a380
#6  0x000000000044a87e in ngx_http_process_request (r=0x767b80) at src/http/ngx_http_request.c:1560
        c = (ngx_connection_t *) 0x97d600
#7  0x00000000004492b3 in ngx_http_process_request_headers (rev=0x9aa210) at src/http/ngx_http_request.c:1022
        n = 153
        rc = 0
        rv = 0
---Type  to continue, or q  to quit---
        header = {len = 256, data = 0x6f6c90 "-jo"}
        h = (ngx_table_elt_t *) 0x6f6930
        c = (ngx_connection_t *) 0x97d600
        hh = (ngx_http_header_t *) 0x6bd9e0
        r = (ngx_http_request_t *) 0x767b80
        cscf = (ngx_http_core_srv_conf_t *) 0x702ed0
        cmcf = (ngx_http_core_main_conf_t *) 0x6ea250
#8  0x0000000000448ac3 in ngx_http_process_request_line (rev=0x9aa210) at src/http/ngx_http_request.c:832
        n = 190
        rc = 0
        rv = 7299536
        c = (ngx_connection_t *) 0x97d600
        r = (ngx_http_request_t *) 0x767b80
        cscf = (ngx_http_core_srv_conf_t *) 0x7fff3970f170
#9  0x0000000000447f9e in ngx_http_init_request (rev=0x9aa210) at src/http/ngx_http_request.c:508
        tp = (ngx_time_t *) 0x6c6658
        i = 0
        c = (ngx_connection_t *) 0x97d600
        r = (ngx_http_request_t *) 0x767b80
        sin = (struct sockaddr_in *) 0x6e9090
        port = (ngx_http_port_t *) 0x96e108
        addr = (ngx_http_in_addr_t *) 0x96e118
        ctx = (ngx_http_log_ctx_t *) 0x8a23e0
        addr_conf = (ngx_http_addr_conf_t *) 0x96e120
        hc = (ngx_http_connection_t *) 0x8a23f8
        cscf = (ngx_http_core_srv_conf_t *) 0x702ed0
        clcf = (ngx_http_core_loc_conf_t *) 0x702f88
        cmcf = (ngx_http_core_main_conf_t *) 0x6ea250
#10 0x0000000000427aec in ngx_event_process_posted (cycle=0x6e9090, posted=0x6c86a8) at src/event/ngx_event_posted.c:39
        ev = (ngx_event_t *) 0x9aa210
#11 0x00000000004258a9 in ngx_process_events_and_timers (cycle=0x6e9090) at src/event/ngx_event.c:272
        flags = 3
        timer = 5736
        delta = 0
#12 0x0000000000431caa in ngx_worker_process_cycle (cycle=0x6e9090, data=0x0) at src/os/unix/ngx_process_cycle.c:775
        i = 0
        c = (ngx_connection_t *) 0x7fff3970f7d0
#13 0x000000000042eb31 in ngx_spawn_process (cycle=0x6e9090, proc=0x431b2d , data=0x0, name=0x4a0100 "worker process", respawn=3)
    at src/os/unix/ngx_process.c:194
        on = 1
        pid = 0
        s = 3
#14 0x000000000043166e in ngx_reap_children (cycle=0x6e9090) at src/os/unix/ngx_process_cycle.c:577
        i = 3
        n = 4
---Type  to continue, or q  to quit---
        live = 1
        ch = {command = 2, pid = 948, slot = 3, fd = -1}
        ccf = (ngx_core_conf_t *) 0x4a451d96
#15 0x000000000043047c in ngx_master_process_cycle (cycle=0x6e9090) at src/os/unix/ngx_process_cycle.c:161
        title = 0x96e3e6 "master process /usr/sbin/nginx"
        p = (u_char *) 0x96e404 ""
        size = 31
        i = 1
        n = 139814879976144
        set = {__val = {0 }}
        itv = {it_interval = {tv_sec = 1, tv_usec = 0}, it_value = {tv_sec = 0, tv_usec = 6}}
        live = 1
        delay = 0
        ls = (ngx_listening_t *) 0x7fff3970f6f0
        ccf = (ngx_core_conf_t *) 0x6e9b30
#16 0x00000000004054ee in main (argc=1, argv=0x7fff3970f7d8) at src/core/nginx.c:382
        i = 46
        log = (ngx_log_t *) 0x6c6400
        cycle = (ngx_cycle_t *) 0x6e9090
        init_cycle = {conf_ctx = 0x0, pool = 0x6e82d0, log = 0x6c6400, new_log = {log_level = 0, file = 0x0, connection = 0, handler = 0, data = 0x0,
    action = 0x0}, files = 0x0, free_connections = 0x0, free_connection_n = 0, listening = {elts = 0x6e8900, nelts = 4, size = 184, nalloc = 10,
    pool = 0x6e82d0}, 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 = 21,
    data = 0x49c83e "/etc/nginx/nginx.conf"}, conf_param = {len = 0, data = 0x0}, conf_prefix = {len = 11, data = 0x49c83e "/etc/nginx/nginx.conf"},
  prefix = {len = 17, data = 0x49c82c "/usr/local/nginx/"}, lock_file = {len = 0, data = 0x0}, hostname = {len = 0, data = 0x0}}
        ccf = (ngx_core_conf_t *) 0x6e9b30
(gdb)


Posted at Nginx Forum: http://forum.nginx.org/read.php?2,3374,3474#msg-3474






More information about the nginx mailing list