[Varnish] #284: Child [] Panic message: Assert error in VRT_r_server_ip(), cache_vrt.c line 476

Varnish varnish-bugs at projects.linpro.no
Sun Jul 27 13:10:20 CEST 2008


#284: Child [] Panic message: Assert error in VRT_r_server_ip(), cache_vrt.c line
476
----------------------+-----------------------------------------------------
 Reporter:  wg        |        Owner:  phk  
     Type:  defect    |       Status:  new  
 Priority:  normal    |    Milestone:       
Component:  varnishd  |      Version:  trunk
 Severity:  normal    |   Resolution:       
 Keywords:            |  
----------------------+-----------------------------------------------------
Old description:

> Built from trunk r2999. Many errors logged as below. Can provide other
> messages if required, but they don't seem to provide any further
> information. I'm unable to reproduce, as I've only noticed the errors
> passively.
>
> Jul 27 08:52:15 soyuz varnishd[60663]: Child (41081) Panic message:
> Assert error in VRT_r_server_ip(), cache_vrt.c line 476:
> Condition((getsockname(sp->fd, sp->mysockaddr, &sp->mysockaddrlen)) == 0)
> not true.  errno = 54 (Connection reset by peer)  thread = (cache-
> worker)sp = 0x823a004 {   fd = 21, id = 21, xid = 263428262,   client =
> 65.55.110.26:62815,   step = STP_RECV,   ws = 0x823a04c {      id =
> "sess",     {s,f,r,e} = {0x823a4cc,,+371,0x0,+8192},   },     worker =
> 0xbeff4cf0 {     },     vcl = {       srcname = {
> "/usr/local/etc/varnish/soyuz+virtual.vcl",         "Default",       },
> }, },
> Jul 27 08:52:15 soyuz varnishd[60663]: Child (49962) said Child starts
> Jul 27 08:52:15 soyuz varnishd[60663]: Child (49962) said Closed fds: 4 5
> 6 7 13 14 16 17
> Jul 27 08:52:15 soyuz varnishd[60663]: Child (49962) said Ready
> Jul 27 08:52:15 soyuz varnishd[60663]: Child (49962) said managed to mmap
> 2147467264 bytes of 2147467264
> Jul 27 08:52:15 soyuz varnishd[60663]: child (49962) Started

New description:

 Built from trunk r2999. Many errors logged as below. Can provide other
 messages if required, but they don't seem to provide any further
 information. I'm unable to reproduce, as I've only noticed the errors
 passively.
 {{
 Jul 27 08:52:15 soyuz varnishd[60663]: Child (41081) Panic message: Assert
 error in VRT_r_server_ip(), cache_vrt.c line 476:
 Condition((getsockname(sp->fd, sp->mysockaddr, &sp->mysockaddrlen)) == 0)
 not true.  errno = 54 (Connection reset by peer)
   thread = (cache-worker)
   sp = 0x823a004 {   fd = 21, id = 21, xid = 263428262,
    client = 65.55.110.26:62815,
    step = STP_RECV,
    ws = 0x823a04c {
       id = "sess",     {s,f,r,e} = {0x823a4cc,,+371,0x0,+8192},   },
      worker = 0xbeff4cf0 {     },
      vcl = {       srcname = {
          "/usr/local/etc/varnish/soyuz+virtual.vcl",
          "Default",
        },
      },
    },
 Jul 27 08:52:15 soyuz varnishd[60663]: Child (49962) said Child starts
 Jul 27 08:52:15 soyuz varnishd[60663]: Child (49962) said Closed fds: 4 5
 6 7 13 14 16 17
 Jul 27 08:52:15 soyuz varnishd[60663]: Child (49962) said Ready
 Jul 27 08:52:15 soyuz varnishd[60663]: Child (49962) said managed to mmap
 2147467264 bytes of 2147467264
 Jul 27 08:52:15 soyuz varnishd[60663]: child (49962) Started
 }}}

Comment (by phk):

 Appearantly the client closed the connection before we ever got to work on
 it.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/284#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list