Weird 0.8.11.1 connections spike
Jeff Waugh
jdub at bethesignal.org
Mon Aug 31 11:14:57 MSD 2009
<quote who="Igor Sysoev">
> p ((ngx_connection_t *) ngx_cycle->connections[NN]->data)->uri
> p ((ngx_connection_t *) ngx_cycle->connections[NN]->data)->main->count
Log output:
2009/08/31 17:10:39 [notice] 24934#0: signal process started
2009/08/31 17:10:39 [alert] 24927#0: open socket #52 left in connection 4
2009/08/31 17:10:39 [alert] 24927#0: open socket #54 left in connection 6
2009/08/31 17:10:39 [alert] 24927#0: open socket #57 left in connection 9
2009/08/31 17:10:39 [alert] 24927#0: open socket #63 left in connection 11
2009/08/31 17:10:39 [alert] 24927#0: open socket #60 left in connection 12
2009/08/31 17:10:39 [alert] 24927#0: open socket #58 left in connection 13
2009/08/31 17:10:39 [alert] 24927#0: aborting
2009/08/31 17:10:39 [alert] 24924#0: worker process 24927 exited on signal 6
(core dumped)
Using the gdb lines from your later followup:
Core was generated by `nginx: worker pr'.
Program terminated with signal 6, Aborted.
[New process 24927]
#0 0xf57fe416 in __kernel_vsyscall ()
(gdb) p ((ngx_http_request_t *) ngx_cycle->connections[13].data)->uri
$1 = {len = 32, data = 0x9416063 "/wp-includes/js/jquery/jquery.js"}
(gdb) p ((ngx_http_request_t *)
ngx_cycle->connections[13].data)->main->count
$2 = 1
...
(gdb) p ((ngx_http_request_t *) ngx_cycle->connections[9].data)->uri
$6 = {len = 10, data = 0x9411493
"/index.php?q=/blog/2006/03/15/requiem-for-linux-journal/"}
(gdb) p ((ngx_http_request_t *) ngx_cycle->connections[9].data)->main->count
$7 = 2
Anything else you want me to poke at?
Thanks,
- Jeff
--
linux.conf.au 2010: Wellington, NZ http://www.lca2010.org.nz/
"jwz? no way man, he's my idle" - James Wilkinson
More information about the nginx
mailing list