[Varnish] #1551: Panic message: Missing errorhandling code in HSH_Purge()

Varnish varnish-bugs at varnish-cache.org
Tue Jul 22 10:28:13 CEST 2014


#1551: Panic message: Missing errorhandling code in HSH_Purge()
---------------------+----------------------
 Reporter:  aduca    |       Type:  defect
   Status:  new      |   Priority:  normal
Milestone:           |  Component:  varnishd
  Version:  unknown  |   Severity:  normal
 Keywords:           |
---------------------+----------------------
 Hi guys,

 We are using the Varnish version 3.0.5 and we have increased the size of
 the files that are cached from 10MB to 100MB. After this change once a day
 Varnish crashes with the following error message:

 Child (5730) Panic message: Missing errorhandling code in HSH_Purge(),
 cache_hash.c line 557:#012  Condition(spc >= sizeof *ocp) not true.thread
 = (cache-worker)#012ident =
 Linux,3.10.37-47.135.amzn1.x86_64,x86_64,-sfile,-smalloc,-hcritbit,epoll#012Backtrace:#012
 0x42f308: /usr/sbin/varnishd() [0x42f308]#012  0x427eb8:
 /usr/sbin/varnishd(HSH_Purge+0x478) [0x427eb8]#012  0x7f42334f6af5:
 ./vcl.CMxtcaiB.so(VGC_function_vcl_hit+0x75) [0x7f42334f6af5]#012
 0x436243: /usr/sbin/varnishd(VCL_hit_method+0x43) [0x436243]#012
 0x415fd3: /usr/sbin/varnishd() [0x415fd3]#012  0x418da5:
 /usr/sbin/varnishd(CNT_Session+0x6a5) [0x418da5]#012  0x431051:
 /usr/sbin/varnishd() [0x431051]#012  0x7f423bb75f18:
 /lib64/libpthread.so.0(+0x7f18) [0x7f423bb75f18]#012  0x7f423b8abe0d:
 /lib64/libc.so.6(clone+0x6d) [0x7f423b8abe0d]#012sp = 0x7e441fa48008 {#012
 fd = 70, id = 70, xid = 1910255048,#012  client = 10.xxx.xxx.xxx
 47837,#012  step = STP_HIT,#012  handling = deliver,#012  restarts = 0,
 esi_level = 0#012  flags = #012  bodystatus = 5#012  ws = 0x7e441fa48080 {
 #012    id = "sess",#012    {s,f,r,e} =
 {0x7e441fa48c78,+232,(nil),+65536},#012  },#012  http[req] = {#012    ws =
 0x7e441fa48080[sess]#012      "X-PURGE",#012
 "/ValidationFunctions.js",#012      "HTTP/1.1",#012      "Host: xxxxxxxxxx
 ",#012      "queryparams: ",#012      "Vary: queryparams",#012  },#012
 worker = 0x7e4549e20b30 {#012    ws = 0x7e4549e20d68 { #012      id =
 "wrk",#012      {s,f,r,e} = {0x7e4549e0eac0,+40,+65536,+65536},#012
 },#012    },#012    vcl = {#012      srcname = {#012        "input",#012
 "Default",#012        "backend.vcl",#012        "security.vcl",#012
 },#012    },#012  obj = 0x7f41f3a87000 {#012    xid = 1884579434,#012
 ws = 0x7f41f3a87018 { #012      id = "obj",#012      {s,f,r,e} =
 {0x7f41f3a87228,+408,(nil),+432},#012    },#012    http[obj] = {#012
 ws = 0x7f41f3a87018[obj]#012        "HTTP/1.1",#012        "OK",#012
 "Cache-Control: public,m

 I have disabled transparent hugepages as mentioned here - https://www
 .varnish-cache.org/docs/3.0/tutorial/platformnotes.html however this
 didn't fixed the issue.
 I'm monitoring all varnish stats so if you need any other information
 please let me know.

 Looking forward to hearing from you.

 Regards,
 Andrei

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



More information about the varnish-bugs mailing list