[Varnish] #1551: Panic message: Missing errorhandling code in HSH_Purge()
Varnish
varnish-bugs at varnish-cache.org
Tue Jul 22 10:38:57 CEST 2014
#1551: Panic message: Missing errorhandling code in HSH_Purge()
----------------------+----------------------
Reporter: aduca | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: unknown
Severity: normal | Resolution:
Keywords: |
----------------------+----------------------
Description changed by lkarsten:
Old description:
> 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
New description:
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:
Condition(spc >= sizeof *ocp) not true.thread = (cache-worker)
ident =
Linux,3.10.37-47.135.amzn1.x86_64,x86_64,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x42f308: /usr/sbin/varnishd() [0x42f308]
0x427eb8: /usr/sbin/varnishd(HSH_Purge+0x478) [0x427eb8]
0x7f42334f6af5: ./vcl.CMxtcaiB.so(VGC_function_vcl_hit+0x75)
[0x7f42334f6af5]
0x436243: /usr/sbin/varnishd(VCL_hit_method+0x43) [0x436243]
0x415fd3: /usr/sbin/varnishd() [0x415fd3]
0x418da5: /usr/sbin/varnishd(CNT_Session+0x6a5) [0x418da5]
0x431051: /usr/sbin/varnishd() [0x431051]
0x7f423bb75f18: /lib64/libpthread.so.0(+0x7f18) [0x7f423bb75f18]
0x7f423b8abe0d: /lib64/libc.so.6(clone+0x6d) [0x7f423b8abe0d]
sp = 0x7e441fa48008 {
fd = 70, id = 70, xid = 1910255048,
client = 10.xxx.xxx.xxx 47837,
step = STP_HIT,
handling = deliver,
restarts = 0, esi_level = 0
flags =
bodystatus = 5
ws = 0x7e441fa48080 {
id = "sess",
{s,f,r,e} = {0x7e441fa48c78,+232,(nil),+65536},
},
http[req] = {
ws = 0x7e441fa48080[sess]
"X-PURGE",
"/ValidationFunctions.js",
"HTTP/1.1",
"Host: xxxxxxxxxx ",
"queryparams: ",
"Vary: queryparams",
},
worker = 0x7e4549e20b30 {
ws = 0x7e4549e20d68 {
id = "wrk",
{s,f,r,e} = {0x7e4549e0eac0,+40,+65536,+65536},
},
},
vcl = {
srcname = {
"input",
"Default",
"backend.vcl",
"security.vcl",
},
},
obj = 0x7f41f3a87000 {
xid = 1884579434,
ws = 0x7f41f3a87018 {
id = "obj",
{s,f,r,e} = {0x7f41f3a87228,+408,(nil),+432},
},
http[obj] = {
ws = 0x7f41f3a87018[obj]
"HTTP/1.1",
"OK",
"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#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list