Remove the shared memory file, it must have become corrupted. Varnish will recreate it on startup.
The file is named _.vsl and is located wherever your varnish has its workdirectory (-n argument or whatever is default on your platform) Poul-henning In message <f1b9797980995749a47520a7f9136e48103daae...@mvlmailbox.solutionset.l ocal>, Pavel Pragin writes: >--===============1052186233== >Content-Language: en-US >Content-Type: multipart/alternative; > boundary="_000_F1B9797980995749A47520A7F9136E48103DAAE5E7MVLMAILBOXsol_" > >--_000_F1B9797980995749A47520A7F9136E48103DAAE5E7MVLMAILBOXsol_ >Content-Type: text/plain; charset="us-ascii" >Content-Transfer-Encoding: quoted-printable > >Varnish was running fine for months. It no longer starts and I see these er= >rors on the systems logs. This was compiled by me. >Thanks > >Version: >[r...@web2 varnish-2.0.4]# /usr/local/sbin/varnishd -V >varnishd (varnish-2.0.4) >Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS > >Platform: >[r...@web2 varnish-2.0.4]# uname -a >Linux web2.trunity.net 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:21:56 EDT 20= >09 x86_64 x86_64 x86_64 GNU/Linux > >Sep 17 22:37:52 web2 varnishd[27525]: Child (27526) Panic message: Assert e= >rror in VSL(), shmlog.c line 157: Condition(loghead->ptr < loghead->size)= > not true. thread =3D (cache-worker)sp =3D 0x2aaaeb37b008 { fd =3D 13, i= >d =3D 13, xid =3D 0, client =3D 10.4.4.5:34351, step =3D STP_FIRST, h= >andling =3D error, ws =3D 0x2aaaeb37b078 { id =3D "sess", {s,f,r= >,e} =3D {0x2aaaeb37b808,,+15,(nil),+16384}, }, worker =3D 0x49de8be0 = >{ }, }, >Sep 17 22:37:52 web2 varnishd[27630]: Child (27631) died signal=3D6 >Sep 17 22:37:52 web2 varnishd[27630]: Child (27631) Panic message: Assert e= >rror in VSL(), shmlog.c line 157: Condition(loghead->ptr < loghead->size)= > not true. thread =3D (cache-worker)sp =3D 0x2aaaeb37b008 { fd =3D 13, i= >d =3D 13, xid =3D 0, client =3D 10.4.4.5:34351, step =3D STP_FIRST, h= >andling =3D error, ws =3D 0x2aaaeb37b078 { id =3D "sess", {s,f,r= >,e} =3D {0x2aaaeb37b808,,+15,(nil),+16384}, }, worker =3D 0x49de8be0 = >{ }, }, >Sep 17 22:37:52 web2 varnishd[27525]: child (2021) Started >Sep 17 22:37:52 web2 varnishd[27630]: child (2022) Started >Sep 17 22:37:52 web2 varnishd[27525]: Pushing vcls failed: CLI communicatio= >n error >Sep 17 22:37:52 web2 varnishd[27525]: Child (2021) said Closed fds: 4 5 6 1= >0 11 13 14 >Sep 17 22:37:52 web2 varnishd[27525]: Child (2021) said Child starts >Sep 17 22:37:52 web2 varnishd[27630]: Pushing vcls failed: CLI communicatio= >n error >Sep 17 22:37:52 web2 varnishd[27630]: Child (2022) said Closed fds: 4 5 6 1= >0 11 13 14 >Sep 17 22:37:52 web2 varnishd[27630]: Child (2022) said Child starts >Sep 17 22:37:52 web2 varnishd[27681]: Child (27682) died signal=3D6 >Sep 17 22:37:52 web2 varnishd[27681]: Child (27682) Panic message: Assert e= >rror in VSL(), shmlog.c line 157: Condition(loghead->ptr < loghead->size)= > not true. thread =3D (cache-worker)sp =3D 0x2aaaeb303008 { fd =3D 10, i= >d =3D 10, xid =3D 0, client =3D 10.4.4.5:44416, step =3D STP_FIRST, h= >andling =3D error, ws =3D 0x2aaaeb303078 { id =3D "sess", {s,f,r= >,e} =3D {0x2aaaeb303808,,+15,(nil),+16384}, }, worker =3D 0x4a141be0 = >{ }, }, > >PAVEL PRAGIN >ppra...@solutionset.com<mailto:ejohans...@solutionset.com> > >T > 650.328.3900 >M > 408.806.8621 >F > 650.328.3901 > >SolutionSet >The Brand Technology Company >http://www.SolutionSet.com<http://www.solutionset.com/> > >PA > 275 Alma Street, Palo Alto, CA 94301 >SF > 85 Second St., San Francisco, CA 94105 > > >--_000_F1B9797980995749A47520A7F9136E48103DAAE5E7MVLMAILBOXsol_ >Content-Type: text/html; charset="us-ascii" >Content-Transfer-Encoding: quoted-printable > ><html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= >osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = >xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= >//www.w3.org/TR/REC-html40"> > ><head> ><meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> ><meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> ><style> ><!-- > /* Font Definitions */ > @font-face > {font-family:Calibri; > panose-1:2 15 5 2 2 2 4 3 2 4;} >@font-face > {font-family:Verdana; > panose-1:2 11 6 4 3 5 4 4 2 4;} > /* Style Definitions */ > p.MsoNormal, li.MsoNormal, div.MsoNormal > {margin:0in; > margin-bottom:.0001pt; > font-size:11.0pt; > font-family:"Calibri","sans-serif";} >a:link, span.MsoHyperlink > {mso-style-priority:99; > color:blue; > text-decoration:underline;} >a:visited, span.MsoHyperlinkFollowed > {mso-style-priority:99; > color:purple; > text-decoration:underline;} >span.EmailStyle17 > {mso-style-type:personal-compose; > font-family:"Calibri","sans-serif"; > color:windowtext;} >.MsoChpDefault > {mso-style-type:export-only;} >@page Section1 > {size:8.5in 11.0in; > margin:1.0in 1.0in 1.0in 1.0in;} >div.Section1 > {page:Section1;} >--> ></style> ><!--[if gte mso 9]><xml> > <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> ></xml><![endif]--><!--[if gte mso 9]><xml> > <o:shapelayout v:ext=3D"edit"> > <o:idmap v:ext=3D"edit" data=3D"1" /> > </o:shapelayout></xml><![endif]--> ></head> > ><body lang=3DEN-US link=3Dblue vlink=3Dpurple> > ><div class=3DSection1> > ><p class=3DMsoNormal>Varnish was running fine for months. It no longer star= >ts and >I see these errors on the systems logs. This was compiled by me.<o:p></o:p>= ></p> > ><p class=3DMsoNormal>Thanks<o:p></o:p></p> > ><p class=3DMsoNormal><o:p> </o:p></p> > ><p class=3DMsoNormal>Version:<o:p></o:p></p> > ><p class=3DMsoNormal>[r...@web2 varnish-2.0.4]# /usr/local/sbin/varnishd -V= ><o:p></o:p></p> > ><p class=3DMsoNormal>varnishd (varnish-2.0.4)<o:p></o:p></p> > ><p class=3DMsoNormal>Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS<o:= >p></o:p></p> > ><p class=3DMsoNormal><o:p> </o:p></p> > ><p class=3DMsoNormal>Platform:<o:p></o:p></p> > ><p class=3DMsoNormal>[r...@web2 varnish-2.0.4]# uname -a<o:p></o:p></p> > ><p class=3DMsoNormal>Linux web2.trunity.net 2.6.18-128.7.1.el5 #1 SMP Mon A= >ug 24 >08:21:56 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux<o:p></o:p></p> > ><p class=3DMsoNormal><o:p> </o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27525]: Child (27526) Pa= >nic >message: Assert error in VSL(), shmlog.c line 157: >Condition(loghead->ptr < loghead->size) not true. thread =3D >(cache-worker)sp =3D 0x2aaaeb37b008 { fd =3D 13, id =3D 13, xid= > =3D >0, client =3D 10.4.4.5:34351, step =3D >STP_FIRST, handling =3D error, ws =3D 0x2aaaeb37b07= >8 >{ id =3D "sess", &= >nbsp; >{s,f,r,e} =3D {0x2aaaeb37b808,,+15,(nil),+16384}, >}, worker =3D 0x49de8be0 { = >}, },<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27630]: Child (27631) di= >ed >signal=3D6<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27630]: Child (27631) Pa= >nic >message: Assert error in VSL(), shmlog.c line 157: >Condition(loghead->ptr < loghead->size) not true. thread =3D >(cache-worker)sp =3D 0x2aaaeb37b008 { fd =3D 13, id =3D 13, xid= > =3D >0, client =3D 10.4.4.5:34351, step =3D >STP_FIRST, handling =3D error, ws =3D 0x2aaaeb37b07= >8 >{ id =3D "sess", &= >nbsp; >{s,f,r,e} =3D {0x2aaaeb37b808,,+15,(nil),+16384}, >}, worker =3D 0x49de8be0 { = >}, },<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27525]: child (2021) Sta= >rted<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27630]: child (2022) Sta= >rted<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27525]: Pushing vcls fai= >led: >CLI communication error<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27525]: Child (2021) sai= >d Closed >fds: 4 5 6 10 11 13 14<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27525]: Child (2021) sai= >d >Child starts<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27630]: Pushing vcls fai= >led: >CLI communication error<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27630]: Child (2022) sai= >d >Closed fds: 4 5 6 10 11 13 14<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27630]: Child (2022) sai= >d >Child starts<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27681]: Child (27682) di= >ed >signal=3D6<o:p></o:p></p> > ><p class=3DMsoNormal>Sep 17 22:37:52 web2 varnishd[27681]: Child (27682) Pa= >nic >message: Assert error in VSL(), shmlog.c line 157: Condition(lo= >ghead->ptr >< loghead->size) not true. thread =3D (cache-worker)sp =3D >0x2aaaeb303008 { fd =3D 10, id =3D 10, xid =3D 0, c= >lient =3D >10.4.4.5:44416, step =3D STP_FIRST, handling =3D >error, ws =3D 0x2aaaeb303078 { id= > =3D >"sess", {s,f,r,e} =3D {0x2aaaeb303808,,+1= >5,(nil),+16384}, >}, worker =3D 0x4a141be0 { = >}, },<o:p></o:p></p> > ><p class=3DMsoNormal><o:p> </o:p></p> > ><p class=3DMsoNormal><b><span style=3D'font-size:7.5pt;font-family:"Verdana= >","sans-serif"; >color:black'>PAVEL PRAGIN</span></b><span style=3D'font-size:7.5pt;font-fam= >ily: >"Verdana","sans-serif";color:black'> <br> ><a href=3D"mailto:ejohans...@solutionset.com"><span style=3D'color:blue'>pp= >ra...@solutionset.com</span></a> ><br> ><br> ></span><b><span style=3D'font-size:6.0pt;font-family:"Verdana","sans-serif"= >; >color:black'>T ></span></b><span style=3D'font-size:7.5pt;font-family:"V= >erdana","sans-serif"; >color:black'> </span><span style=3D'font-size:7.5pt;font-family:"Verdana","= >sans-serif"; >color:#5AC100'> 650.328.3900</span><span style=3D'font-size:7.5pt; >font-family:"Verdana","sans-serif";color:black'><br> ></span><b><span style=3D'font-size:6.0pt;font-family:"Verdana","sans-serif"= >; >color:black'>M ></span></b><span style=3D'font-size:7.5pt;font-family:"V= >erdana","sans-serif"; >color:black'> </span><span style=3D'font-size:7.5pt;font-family:"Verdana","= >sans-serif"; >color:#5AC100'>408.806.8621</span><span style=3D'font-size:7.5pt;font-famil= >y: >"Verdana","sans-serif";color:black'><br> ></span><b><span style=3D'font-size:6.0pt;font-family:"Verdana","sans-serif"= >; >color:black'>F ></span></b><span style=3D'font-size:7.5pt;font-family:"V= >erdana","sans-serif"; >color:black'> </span><span style=3D'font-size:7.5pt;font-family:"Verdana","= >sans-serif"; >color:#5AC100'> 650.328.3901</span><span style=3D'font-size:7.5pt; >font-family:"Verdana","sans-serif";color:black'> <br> ><br> ></span><b><span style=3D'font-size:9.0pt;font-family:"Verdana","sans-serif"= >; >color:black'>SolutionSet</span></b><span style=3D'font-size:7.5pt;font-fami= >ly: >"Verdana","sans-serif";color:black'> <br> >The Brand Technology Company <br> ><a href=3D"http://www.solutionset.com/"><span style=3D'color:blue'>http://w= >ww.SolutionSet.com</span></a> ><br> ><br> ></span><b><span style=3D'font-size:6.0pt;font-family:"Verdana","sans-serif"= >; >color:black'>PA ></span></b><span style=3D'font-size:7.5pt;font-family:"= >Verdana","sans-serif"; >color:#5AC100'> 275 Alma Street, Palo Alto, CA 94301</span><span >style=3D'font-size:7.5pt;font-family:"Verdana","sans-serif";color:black'><b= >r> ></span><b><span style=3D'font-size:6.0pt;font-family:"Verdana","sans-serif"= >; >color:black'>SF ></span></b><span style=3D'font-size:7.5pt;font-family:"= >Verdana","sans-serif"; >color:#5AC100'> 85 Second St., San Francisco, CA 94105</span><span >style=3D'font-size:7.5pt;font-family:"Verdana","sans-serif";color:black'> <= >o:p></o:p></span></p> > ><p class=3DMsoNormal><o:p> </o:p></p> > ></div> > ></body> > ></html> > >--_000_F1B9797980995749A47520A7F9136E48103DAAE5E7MVLMAILBOXsol_-- > >--===============1052186233== >Content-Type: text/plain; charset="us-ascii" >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >Content-Disposition: inline > >_______________________________________________ >varnish-misc mailing list >varnish-misc@projects.linpro.no >http://projects.linpro.no/mailman/listinfo/varnish-misc > >--===============1052186233==-- > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc