[Varnish] #588: Varnish crashes every other second with Assert error in VCA_Prep(), cache_acceptor.c line 148

Varnish varnish-bugs at projects.linpro.no
Mon Nov 23 00:08:57 CET 2009


#588: Varnish crashes every other second with Assert error in VCA_Prep(),
cache_acceptor.c line 148
---------------------------+------------------------------------------------
 Reporter:  erik.berglund  |        Type:  defect
   Status:  new            |    Priority:  high  
Milestone:                 |   Component:  build 
  Version:  trunk          |    Severity:  normal
 Keywords:                 |  
---------------------------+------------------------------------------------
 Hello.

 We are running Varnish 2.0.5 on OS X 10.5 Server.

 A few days ago both our varnishservers started to crash and respawn all
 the time not staying up longer than 1-2 seconds before respawning. And
 finally after about 3-5 hours the CrashReporter cant keep up or something
 else happens so a complete reboot of the server is needed. And in the
 computer crashlog we keep getting these messages:


 {{{
 2009-11-22 23.58.03 no.linpro.varnish[77] child (56494) Started
 2009-11-22 23.58.04 no.linpro.varnish[77] Child (56494) said Closed fds: 4
 5 7 10 11 13 14
 2009-11-22 23.58.04 no.linpro.varnish[77] Child (56494) said Child starts
 2009-11-22 23.58.04 no.linpro.varnish[77] Child (56494) said managed to
 mmap 1925185536 bytes of 1925185536
 2009-11-22 23.58.04 no.linpro.varnish[77] Child (56494) said Ready
 2009-11-22 23.58.39 no.linpro.varnish[77] Child (56494) said getnameinfo =
 5 ai_family not supported
 2009-11-22 23.58.39 no.linpro.varnish[77] Child (56494) said getnameinfo =
 5 ai_family not supported
 2009-11-22 23.58.39 no.linpro.varnish[77] Child (56494) said getnameinfo =
 5 ai_family not supported
 2009-11-22 23.58.39 no.linpro.varnish[77] Child (56494) said getnameinfo =
 5 ai_family not supported
 2009-11-22 23.58.39 no.linpro.varnish[77] Child (56494) not responding to
 ping, killing it.
 2009-11-22 23.58.39 no.linpro.varnish[77] Child (56494) died signal=6
 2009-11-22 23.58.39 no.linpro.varnish[77] Child (56494) Panic message:
 Assert error in VCA_Prep(), cache_acceptor.c line 148:
 2009-11-22 23.58.39 no.linpro.varnish[77]   Condition((setsockopt(sp->fd,
 0xffff, 0x0080, &linger, sizeof linger)) == 0) not true.
 2009-11-22 23.58.39 no.linpro.varnish[77] errno = 22 (Invalid argument)
 }}}

 Any help would be appreciated at pointing out what might be causing this
 and helping us get on the right track with this issue.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/588>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list