<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I forgot to add the command line I use to launch it:<div><br></div><div>/opt/local/sbin/varnishd -F -f /opt/local/etc/varnish/default.vcl -s malloc,3G -T 127.0.0.1:2000 -a 0.0.0.0:80</div><div><br></div><div>Regards,</div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="font-weight: normal; ">--</div>Javi Lavandeira <div>Twitter: @javilm</div><div><b><br></b></div><div><b>Blog:</b> <a href="http://www.lavandeira.net/blog/">http://www.lavandeira.net/blog/</a></div><div><b>Email and hosting:</b> <a href="http://www.lavandeira.net/services/">http://www.lavandeira.net/services/</a></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Jul 23, 2012, at 11:57 AM, Javi Lavandeira <<a href="mailto:javi@lavandeira.net">javi@lavandeira.net</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello,<br><br>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. <br><br>The following output is the debug info I see in my /var/log/varnish.log. Any ideas/suggestions would be appreciated.<br><br>Thanks in advance,<br><br>--------------------------------------------------------------------------------------------------------------------<br>child (7681) Started<br>Child (7681) said Child starts<br>Child (7681) died signal=6<br>Child (7681) Panic message: Assert error in VCA_Prep(), cache_acceptor.c line 185:<br>  Condition(VTCP_Check(setsockopt(sp->fd, 0xffff, 0x1005, &tv_sndtimeo, sizeof tv_sndtimeo))) not true.<br>errno = 22 (Invalid argument)<br>thread = (cache-worker)<br>ident = Darwin,11.3.0,x86_64,-smalloc,-smalloc,-hcritbit,poll<br>Backtrace:<br>  0x104319134: _sms_mtx+42b3a9c<br>  0x1042f7c06: _sms_mtx+429256e<br>  0x1043038f5: _sms_mtx+429e25d<br>  0x10431a7e1: _sms_mtx+42b5149<br>  0x10431b861: _sms_mtx+42b61c9<br>  0x10431b545: _sms_mtx+42b5ead<br>  0x7fff895318bf: _sms_mtx+7ffe894cc227<br>  0x7fff89534b75: _sms_mtx+7ffe894cf4dd<br>sp = 0x7fb8a38ce208 {<br>  fd = 9, id = 9, xid = 0,<br>  client = 187.164.53.188 50716,<br>  step = STP_FIRST,<br>  handling = deliver,<br>  restarts = 0, esi_level = 0<br>  flags = <br>  bodystatus = 3<br>  ws = 0x7fb8a38ce280 { <br>    id = "sess",<br>    {s,f,r,e} = {0x7fb8a38cee80,+24,0x0,+65536},<br>  },<br>  http[req] = {<br>    ws = 0x7fb8a38ce280[sess]<br>      "",<br>      "/lupita/trackback",<br>      "HTTP/1.1",<br>      "Host: <a href="http://www.veuanimal.org">www.veuanimal.org</a>",<br>      "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)",<br>      "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",<br>      "Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3",<br>      "Accept-Encoding: gzip,deflate",<br>      "Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7",<br>      "Keep-Alive: 115",<br>      "Connection: keep-alive",<br>      "Referer: <a href="http://www.veuanimal.org/lupita/">http://www.veuanimal.org/lupita/</a>",<br>      "Content-Type: application/x-www-form-urlencoded",<br>      "Content-Length: 131",<br>      "X-Forwarded-For: 176.9.7.205",<br>  },<br>  worker = 0x109766b18 {<br>    ws = 0x109766d58 { <br>      id = "wrk",<br>      {s,f,r,e} = {0x109754a80,0x109754a80,0x0,+65536},<br>    },<br>    },<br>},<br><br><br>Child cleanup complete<br>--------------------------------------------------------------------------------------------------------------------<br><br>--<br>Javi Lavandeira <br>Twitter: @javilm<br><br>Blog: <a href="http://www.lavandeira.net/blog/">http://www.lavandeira.net/blog/</a><br>Email and hosting: <a href="http://www.lavandeira.net/services/">http://www.lavandeira.net/services/</a><br><br><br><br></blockquote></div><br></div></body></html>