Child constantly crashes in Mac OS X

Javi Lavandeira javi at lavandeira.net
Mon Jul 23 04:57:40 CEST 2012


Hello,

I have Varnish 3.0.2 running on an OS X 10.7.3 system. The child process is crashing all the time (and with it, all the cache). Typical uptimes are 2-3 hours. 

The following output is the debug info I see in my /var/log/varnish.log. Any ideas/suggestions would be appreciated.

Thanks in advance,

--------------------------------------------------------------------------------------------------------------------
child (7681) Started
Child (7681) said Child starts
Child (7681) died signal=6
Child (7681) Panic message: Assert error in VCA_Prep(), cache_acceptor.c line 185:
  Condition(VTCP_Check(setsockopt(sp->fd, 0xffff, 0x1005, &tv_sndtimeo, sizeof tv_sndtimeo))) not true.
errno = 22 (Invalid argument)
thread = (cache-worker)
ident = Darwin,11.3.0,x86_64,-smalloc,-smalloc,-hcritbit,poll
Backtrace:
  0x104319134: _sms_mtx+42b3a9c
  0x1042f7c06: _sms_mtx+429256e
  0x1043038f5: _sms_mtx+429e25d
  0x10431a7e1: _sms_mtx+42b5149
  0x10431b861: _sms_mtx+42b61c9
  0x10431b545: _sms_mtx+42b5ead
  0x7fff895318bf: _sms_mtx+7ffe894cc227
  0x7fff89534b75: _sms_mtx+7ffe894cf4dd
sp = 0x7fb8a38ce208 {
  fd = 9, id = 9, xid = 0,
  client = 187.164.53.188 50716,
  step = STP_FIRST,
  handling = deliver,
  restarts = 0, esi_level = 0
  flags = 
  bodystatus = 3
  ws = 0x7fb8a38ce280 { 
    id = "sess",
    {s,f,r,e} = {0x7fb8a38cee80,+24,0x0,+65536},
  },
  http[req] = {
    ws = 0x7fb8a38ce280[sess]
      "",
      "/lupita/trackback",
      "HTTP/1.1",
      "Host: www.veuanimal.org",
      "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)",
      "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
      "Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3",
      "Accept-Encoding: gzip,deflate",
      "Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7",
      "Keep-Alive: 115",
      "Connection: keep-alive",
      "Referer: http://www.veuanimal.org/lupita/",
      "Content-Type: application/x-www-form-urlencoded",
      "Content-Length: 131",
      "X-Forwarded-For: 176.9.7.205",
  },
  worker = 0x109766b18 {
    ws = 0x109766d58 { 
      id = "wrk",
      {s,f,r,e} = {0x109754a80,0x109754a80,0x0,+65536},
    },
    },
},


Child cleanup complete
--------------------------------------------------------------------------------------------------------------------

--
Javi Lavandeira 
Twitter: @javilm

Blog: http://www.lavandeira.net/blog/
Email and hosting: http://www.lavandeira.net/services/






More information about the varnish-misc mailing list