"Vilhelm K. Vardøy" <[EMAIL PROTECTED]> writes:
> I'm wondering if there is any progress regarding the issue described in
> http://varnish.projects.linpro.no/ticket/105 ?
Sorry, we haven't had time to look into it.
The first stack trace shows an assertion failure in EXP_TTLchange() and
is probably related to url.purge; the second shows an assertion failure
in smf_alloc() and is most likely a result of Varnish running out of
storage space.
The attached patch should prevent the first case from reoccurring. The
second is being worked on, and should be fixed in a couple of weeks.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
Index: bin/varnishd/cache_hash.c
===================================================================
--- bin/varnishd/cache_hash.c (revision 1533)
+++ bin/varnishd/cache_hash.c (working copy)
@@ -157,7 +157,8 @@
} else if (BAN_CheckObject(o, h->hd[HTTP_HDR_URL].b)) {
o->ttl = 0;
VSL(SLT_ExpBan, 0, "%u was banned", o->xid);
- EXP_TTLchange(o);
+ if (o->heap_idx != 0)
+ EXP_TTLchange(o);
} else if (VRY_Match(sp, o->vary))
break;
o->refcnt--;
_______________________________________________
varnish-dev mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-dev