Hello!
On Sun, Sep 04, 2011 at 01:33:59PM -0400, magicbear wrote:
> Hello , when run for 5 days, today have 2 segment failure.
>
> 2011/09/04 12:00:47 [alert] 32147#0: worker process 8496 exited on
> signal 11 (core dumped)
> 2011/09/04 12:17:32 [alert] 8497#0: ignore long locked inactive cache
> entry 57c7c6c612a651727b880a1c9a2c7d2d, count:1
> 2011/09/04 12:21:31 [alert] 32147#0: worker process 19185 exited on
> signal 11 (core dumped)
>
>
>
>
> Core was generated by `nginx:'.
> Program terminated with signal 11, Segmentation fault.
> #0 ngx_http_upstream_handler (ev=0x7fc45735f8a8) at
> src/http/ngx_http_upstream.c:915
> 915 ctx->current_request = r;
> (gdb) bt
> #0 ngx_http_upstream_handler (ev=0x7fc45735f8a8) at
> src/http/ngx_http_upstream.c:915
> #1 0x0000000000419e95 in ngx_event_expire_timers () at
> src/event/ngx_event_timer.c:149
> #2 0x0000000000419ac7 in ngx_process_events_and_timers
> (cycle=0x21f1990) at src/event/ngx_event.c:261
Hm, this looks identical to one you've reported previously. Do
you have patch from
http://mailman.nginx.org/pipermail/nginx/2011-August/028809.html
applied?
> #3 0x000000000041f76e in ngx_worker_process_cycle (cycle=0x21f1990,
> data=<value optimized out>) at src/os/unix/ngx_process_cycle.c:800
> #4 0x000000000041e16b in ngx_spawn_process (cycle=0x21f1990,
> proc=0x41f69d <ngx_worker_process_cycle>, data=0x0, name=0x463f3d
> "worker process", respawn=7) at src/os/unix/ngx_process.c:196
> #5 0x000000000042008d in ngx_reap_children (cycle=0x21f1990) at
> src/os/unix/ngx_process_cycle.c:617
> #6 ngx_master_process_cycle (cycle=0x21f1990) at
> src/os/unix/ngx_process_cycle.c:180
> #7 0x0000000000406061 in main (argc=<value optimized out>, argv=<value
> optimized out>) at src/core/nginx.c:405
>
>
> (gdb) bt full
> #0 ngx_http_upstream_handler (ev=0x7fc45735f8a8) at
> src/http/ngx_http_upstream.c:915
> c = 0x23b4160
> r = 0x22a2780
> ctx = <error reading variable ctx (Cannot access memory at
> address 0x20)>
> u = 0x0
Could you please show results of the following gdb commands:
fr 0
p *ev
p *((ngx_connection_t *) ev->data)
Maxim Dounin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx