Weird 0.8.11.1 connections spike

Igor Sysoev is at rambler-co.ru
Sun Aug 30 20:30:21 MSD 2009


On Sun, Aug 30, 2009 at 11:52:51AM -0400, Jim Ohlstein wrote:

> >>2009/08/30 10:29:00 [alert] 2042#0: open socket #1023 left in connection 
> >>1015
> >>2009/08/30 10:29:00 [alert] 2042#0: aborting
> >>
> >>Other servers seem to be running fine including ones with busy sites. 
> >>For the moment I have reverted that VPS to 0.8.10.
> >>    
> >
> >Could you do the following:
> >
> >1) enable coredumps
> >2) set in nginx.conf:
> >   debug_points  abort;
> >3) reconfigure nginx, if there are open connections, then nginx creates
> >   coredump on exit
> >  
> 
> Do you want nginx reconfigured "--with-debug" or is there another option 
> you need?

No. The coredump is enough, it's just should have debug info (gcc -g option).

> >4) look in log for alerts: open socket #... left in connection NN
> >5) run "gdb /path/to/nginx /path/to/core", then
> >
> >   p ((ngx_connection_t *) ngx_cycle->connections[NN]->data)->uri
> >   p ((ngx_connection_t *) ngx_cycle->connections[NN]->data)->main->count
> >
> >   where NN is NN from log message.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list