nginx изредка падает при проксировании с резолвером

Alex Vorona voron at amhost.net
Fri May 1 17:24:45 MSD 2009


01.05.2009 15:47, Igor Sysoev wrote:
> On Fri, May 01, 2009 at 03:42:52PM +0300, Alex Vorona wrote:
> 
>> Со следующим бэктрейсом
>> (gdb) bt
>> #0  0x2e737265 in ?? ()
>> #1  0x0805f1f6 in ngx_resolver_process_a (r=0x80e2080, buf=0x7f7fdbd0 
>> "С\030\201\202", last=37, ident=62232, code=2, nan=0, ans=37)
>>     at src/core/ngx_resolver.c:1143
>> #2  0x0805ef69 in ngx_resolver_process_response (r=0x80e2080, 
>> buf=0x7f7fdbd0 "С\030\201\202", n=37) at src/core/ngx_resolver.c:1049
>> #3  0x0805ec67 in ngx_resolver_read_response (rev=0x824299c) at 
>> src/core/ngx_resolver.c:953
>> #4  0x0806eddb in ngx_kqueue_process_events (cycle=0x80d5020, timer=500, 
>> flags=1) at src/event/modules/ngx_kqueue_module.c:689
> 
> p *r
> 
> 
(gdb) up
#1  0x0805f1f6 in ngx_resolver_process_a (r=0x80e2080, buf=0x7f7fdbd0 "С\030\201\202", 
last=37, ident=62232, code=2, nan=0, ans=37)
     at src/core/ngx_resolver.c:1143
1143                 ctx->handler(ctx);
(gdb) p *r
$1 = {event = 0x80df200, udp_connection = 0x80d1020, log = 0x80d531c, ident = -1, 
name_rbtree = {root = 0x80df2c0, sentinel = 0x80e209c,
     insert = 0x805ff9c <ngx_resolver_rbtree_insert_value>}, name_sentinel = {key = 0, 
left = 0x0, right = 0x0, parent = 0x80df2c0, color = 0 '\0',
     data = 0 '\0'}, addr_rbtree = {root = 0x80e20bc, sentinel = 0x80e20bc, insert = 
0x8054130 <ngx_rbtree_insert_value>}, addr_sentinel = {key = 0,
     left = 0x0, right = 0x0, parent = 0x0, color = 0 '\0', data = 0 '\0'}, 
name_resend_queue = {prev = 0x80e20d0, next = 0x80e20d0}, addr_resend_queue = {
     prev = 0x80e20d8, next = 0x80e20d8}, name_expire_queue = {prev = 0x80df2d4, next = 
0x80df3d4}, addr_expire_queue = {prev = 0x80e20e8, next = 0x80e20e8},
   resend_timeout = 5, expire = 30, valid = 300, log_level = 2}






More information about the nginx-ru mailing list