[Varnish] #827: varnish child died in object_cmp

Varnish varnish-bugs at varnish-cache.org
Mon Dec 13 14:15:24 CET 2010


#827: varnish child died in object_cmp
----------------------+-----------------------------------------------------
 Reporter:  dmyaho    |       Owner:  phk                
     Type:  defect    |      Status:  new                
 Priority:  high      |   Milestone:  Varnish 2.1 release
Component:  varnishd  |     Version:  2.1.3              
 Severity:  major     |    Keywords:  Assert error       
----------------------+-----------------------------------------------------
Description changed by phk:

Old description:

> Varnish 2.1.3
> Linux web-1 2.6.18-194.11.1.el5PAE #1 SMP Tue Jul 27 06:02:35 EDT 2010
> i686 i686 i386 GNU/Linux
>
> The child process died once every ~5 days.  Could someone please take a
> look? Please let me know if you need further information. Thanks!
>
> The messages below is from our /var/log/messages file:
>
> Dec  6 18:30:52 web-1 /d/varnish[22365]: Child (7262) died signal=6
> Dec  6 18:30:52 web-1 /d/varnish[22365]: Child (7262) Panic message:
> Assert error in object_cmp(), cache_expire.c line 380:#012
> Condition(((aa))->magic == (0x4d301302)) not true.#012thread = (cache-
> worker)#012ident =
> Linux,2.6.18-194.11.1.el5PAE,i686,-smalloc,-hcritbit,epoll#012Backtrace:#012
> 0x806cb5c: pan_ic+cc#012  0x80612a6: object_cmp+56#012  0x769510:
> /usr/local/lib/libvarnish.so.1(binheap_delete+0x2e0) [0x769510]#012
> 0x806156e: EXP_NukeOne+13e#012 0x8085b46: STV_alloc+f6#012  0x8063871:
> FetchBody+5b1#012  0x8059f77: cnt_fetch+737#012  0x805b92a:
> CNT_Session+44a#012  0x806f5df: wrk_do_cnt_sess+ef#012 0x806e661:
> wrk_thread_real+341#012sp = 0xaf937004 {#012  fd = 21, id = 21, xid =
> 893998447,#012  client = 74.7.178.42:64276,#012  step = STP_FETCH,#012
> handling = deliver,#012  err_code = 200, err_reason = (null),#012
> restarts = 0, esis = 0#012  ws = 0xaf93704c { #012    id = "sess",#012
> {s,f,r,e} = {0xaf9377dc,+772,(nil),+16384},#012  },#012  http[req] =
> {#012    ws = 0xaf93704c[sess]#012      "GET",#012
> "/index.php?title=MediaWiki:Monobook.css&usemsgcache=yes&ctype=text%2Fcss&smaxage=18000&action=raw&maxage=18000",#012
> "HTTP/1.1",#012      "Accept: */*",#012      "Referer:
> http://www.mywebsite.org/index.php/page",#012      "Accept-Language: en-
> US",#012      "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
> 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
> 3.0.30729; Media Center PC 6.0; MDDR; Zune 4.0; .NET4.0C; .NET4.0E)",#012
> "Host: www.mywebsite.org",#012 "Connection: Keep-Alive",#012
> "Cookie: __utma=221264669.1516477775.1286286826.1286286826.1286286826.1;
> __utmz=221264669.1286286826.1.1.utmcsr=google.com|utmccn=(referral)|utmcmd=referral|utmcct=/",#012
> "X-Forwarded-For: 74.7.178.42",#012      "Accept-Encoding: gzip",#012
> },#012  worker = 0xb7f8b194 {#012    ws = 0xb7f8b2ac { #012      id =
> "wrk",#012      {s,f,r,e} = {0xb7f85150,+1472,(nil),+16384},#012
> },#012    http[bereq] = {#012      ws = 0xb7f8b2ac[wrk]#012
> Dec  6 18:30:52 web-1 /d/varnish[22365]: child (17885) Started

New description:

 Varnish 2.1.3
 Linux web-1 2.6.18-194.11.1.el5PAE #1 SMP Tue Jul 27 06:02:35 EDT 2010
 i686 i686 i386 GNU/Linux

 The child process died once every ~5 days.  Could someone please take a
 look? Please let me know if you need further information. Thanks!

 The messages below is from our /var/log/messages file:
 {{{
 Dec  6 18:30:52 web-1 /d/varnish[22365]: Child (7262) died signal=6
 Dec  6 18:30:52 web-1 /d/varnish[22365]: Child (7262) Panic message:
 Assert error in object_cmp(), cache_expire.c line 380:
   Condition(((aa))->magic == (0x4d301302)) not true.
 thread = (cache-worker)
 ident =
 Linux,2.6.18-194.11.1.el5PAE,i686,-smalloc,-hcritbit,epoll#012Backtrace:
   0x806cb5c: pan_ic+cc
   0x80612a6: object_cmp+56
   0x769510: /usr/local/lib/libvarnish.so.1(binheap_delete+0x2e0)
 [0x769510]
   0x806156e: EXP_NukeOne+13e
  0x8085b46: STV_alloc+f6
   0x8063871: FetchBody+5b1
   0x8059f77: cnt_fetch+737
   0x805b92a: CNT_Session+44a
   0x806f5df: wrk_do_cnt_sess+ef
  0x806e661: wrk_thread_real+341
 sp = 0xaf937004 {
   fd = 21, id = 21, xid = 893998447,#012  client = 74.7.178.42:64276,
   step = STP_FETCH,
   handling = deliver,
   err_code = 200, err_reason = (null),
   restarts = 0, esis = 0
   ws = 0xaf93704c {
     id = "sess",
     {s,f,r,e} = {0xaf9377dc,+772,(nil),+16384},#012  },
   http[req] = {
     ws = 0xaf93704c[sess]
       "GET",
 "/index.php?title=MediaWiki:Monobook.css&usemsgcache=yes&ctype=text%2Fcss&smaxage=18000&action=raw&maxage=18000",
       "HTTP/1.1",
       "Accept: */*",
       "Referer: http://www.mywebsite.org/index.php/page",
       "Accept-Language: en-US",
       "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
 Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
 3.0.30729; Media Center PC 6.0; MDDR; Zune 4.0; .NET4.0C; .NET4.0E)",
       "Host: www.mywebsite.org",
  "Connection: Keep-Alive",
       "Cookie:
 __utma=221264669.1516477775.1286286826.1286286826.1286286826.1;
 __utmz=221264669.1286286826.1.1.utmcsr=google.com|utmccn=(referral)|utmcmd=referral|utmcct=/",
       "X-Forwarded-For: 74.7.178.42",
       "Accept-Encoding: gzip",
   },
   worker = 0xb7f8b194 {
     ws = 0xb7f8b2ac {
       id = "wrk",
       {s,f,r,e} = {0xb7f85150,+1472,(nil),+16384},
     },
     http[bereq] = {
       ws = 0xb7f8b2ac[wrk]

 Dec  6 18:30:52 web-1 /d/varnish[22365]: child (17885) Started
 }}}

--

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/827#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list