<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 21 Nov 2014, at 20:03, Jason Price <<a href="mailto:japrice@gmail.com" class="">japrice@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Recently, my varnish boxes have been seeing panics.  I don't know why.  vmod redis, mhash, and digest are in play (with the worst suspect being vmod_redis).<br class=""><br class="">Last panic at: Fri, 21 Nov 2014 17:16:55 GMT                                                                                                                              [92/197]<br class="">Assert error in VRT_SetHdr(), cache_vrt.c line 225:<br class="">  Condition((sp)->magic == 0x2c2f9c5a) not true.<br class="">...<br class=""><br class=""></div>Any pointers on where to start looking?<br class=""></div></div></blockquote><div><br class=""></div></div>Hi Jason,<div class=""><br class=""></div><div class="">That could be related with some VMOD corrupting memory contents, but I don’t think that panic message could be useful to find the responsible. If the panic is easy to reproduce, you could use a simple trial and error approach in order to try to identify the origin of the problem.</div><div class=""><br class=""></div><div class="">What Redis VMOD are you using? If using <a href="https://github.com/carlosabalde/libvmod-redis" class="">https://github.com/carlosabalde/libvmod-redis</a>, what version of the VMOD, Varnish, hiredis & Redis are you using? During the last 24 hours I’ve running a benchmark of the VMOD (Varnish 3.0.6, hiredis 0.11.0, Redis 2.8.17, ~ 2,500 HTTP reqs/sec, ~ 24,000 Redis ops/sec) while monitoring syslog, uptime, etc. and I didn’t get any Varnish crashes. If you’re using this VMOD and you think the problem could be related with it, it could be useful if you could share your VCL.</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">—</div><div class="">Carlos Abalde.</div></body></html>