[Varnish] #1257: Varnish restarting it self, large cache.

Varnish varnish-bugs at varnish-cache.org
Tue Jan 29 14:26:42 CET 2013


#1257: Varnish restarting it self, large cache.
---------------------------+--------------------
 Reporter:  anders-bazoom  |       Type:  defect
   Status:  new            |   Priority:  normal
Milestone:                 |  Component:  build
  Version:  3.0.3          |   Severity:  major
 Keywords:                 |
---------------------------+--------------------
 Okay, we have a varnish server in front of an image server. We recently
 tried the file storage option instead of malloc, to increase our hit
 rates.

 But it's giving us some problems. The master process will restart the
 child process on seemingly random(they are probably not random :p)
 intervals. Sometimes after 20minutes, longest it has lasted has been about
 48 hours. This last time it restarted, I saw a panic message for the first
 time. The previous reboots only produced died signal=6

 http://pastebin.com/BTFzeYRd
 {{{
 varnish> panic.show
 200
 Last panic at: Tue, 29 Jan 2013 10:25:13 GMT
 Assert error in default_oc_getobj(), stevedore.c line 65:
   Condition(((o))->magic == (0x32851d42)) not true.
 thread = (cache-worker)
 ident = Linux,2.6.32-37-server,x86_64,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x430768: /usr/sbin/varnishd() [0x430768]
   0x44867c: /usr/sbin/varnishd() [0x44867c]
   0x429f36: /usr/sbin/varnishd(HSH_Lookup+0x3a6) [0x429f36]
   0x416b19: /usr/sbin/varnishd() [0x416b19]
   0x41a265: /usr/sbin/varnishd(CNT_Session+0x705) [0x41a265]
   0x4324b1: /usr/sbin/varnishd() [0x4324b1]
   0x7f19771e89ca: /lib/libpthread.so.0(+0x69ca) [0x7f19771e89ca]
   0x7f1976f4521d: /lib/libc.so.6(clone+0x6d) [0x7f1976f4521d]
 sp = 0x7e76e7665008 {
   fd = 218, id = 218, xid = 1472043706,
   client = 66.249.76.55 42918,
   step = STP_LOOKUP,
   handling = hash,
   restarts = 0, esi_level = 0
   flags =
   bodystatus = 4
   ws = 0x7e76e7665080 {
     id = "sess",
     {s,f,r,e} = {0x7e76e7665c78,+464,+65536,+65536},
   },
   http[req] = {
     ws = 0x7e76e7665080[sess]
       "GET",
       "/bruger/7/70/52/33443/EEEEEE/28-01-2013_213537",
       "HTTP/1.1",
       "Referer: http://www.bilgalleri.dk/forum/generel-
 diskussion/936318-vinterhjul_",
       "Connection: Keep-alive",
       "Accept: */*",
       "From: googlebot(at)googlebot.com",
       "User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1;
 +http://www.google.com/bot.html)",
       "host: billeder2.bilgalleri.dk",
       "X-Forwarded-For: 66.249.76.55",
       "Accept-Encoding: gzip",
   },
   worker = 0x7e76727fea90 {
     ws = 0x7e76727fecc8 {
       id = "wrk",
       {s,f,r,e} = {0x7e76727eca20,0x7e76727eca20,(nil),+65536},
     },
     },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
 },
 }}}


 It's a virtual server, with 16gigs of ram. The storage size is set to
 650gb.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1257>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list