Is anyone successfully using the random director in varnish trunk  
(r2917)?

I have something like this in my config:

backend web1 { .host = "10.0.1.1"; .port = "8080"; }
backend web2 { .host = "10.0.1.2"; .port = "8080"; }

director default random {
        {
                .backend = web1;
                .weight = 1;
        }
        {
                .backend = web2;
                .weight = 1;
        }
}

        sub vcl_recv {
                set req.backend = default;

.....

Varnish won't serve any requests -- it looks like the child just dies.  
Strace shows:

read(11, "Assert error in vdi_random_choos"..., 8191) = 102
write(2, "Child (30484) said Assert error "..., 84) = 84

Using a normal backend (not random director) works fine.

Details:   Debian Etch amd64, 2.6.18-6.

I am not sure if it is an unhandled config/syntax error in my vcl or  
something else.


--
Barry Abrahamson | Systems Wrangler | Automattic
Blog: http://barry.wordpress.com






_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to