HSH_Lookup entered multiply - why could that happen?

Nils Goroll slink at schokola.de
Wed Dec 9 20:55:16 CET 2009


Maybe I should also mention that I am trying to test the restart behavior by 
simulating a a slow and unresponsive backend using this VCL code:

sub vcl_fetch {
     /* TEST CODE to test restarting REMOVE ME !!!! */
     if ((req.url ~ "MAGIC TESTING URL SUBSTRING") &&
	(req.restarts <= 3)) {
C{
     sleep(2);
}C

         return (restart);
     }


Is there a better way to do this?



More information about the varnish-dev mailing list