not understang=ding the errors I'm getting and why.

Mike Gracy ghstridr at gmail.com
Fri May 27 01:26:31 CEST 2011


Using Varnish 2.1. I'm rather new to varnish......
root at ip-10-170-69-235:/etc/varnish# varnishd -a localhost:9010 -a
localhost:8080 -f /etc/varnish/default.vcl -d
Message from VCC-compiler:
Unused backend ffpool, defined:
(input Line 37 Pos 10)
director ffpool round-robin {
---------######--------------
Unused backend sppool, defined:
(input Line 74 Pos 10)
director sppool round-robin {
---------######--------------
Running VCC-compiler failed, exit 1
VCL compilation failed

My config:
backend ff1 {
        .host = "10.160.223.159";
        .port = "9010";
        .probe = {
                .url = "/";
                .interval = 5s;
                .timeout = 1 s;
                .window = 5;
                .threshold = 3;
        }
}

backend ff2 {
        .host = "10.166.234.193";
        .port = "9010";
        .probe = {
                .url = "/";
                .interval = 5s;
                .timeout = 1 s;
                .window = 5;
                .threshold = 3;
        }
}


director ffpool round-robin {
        { .backend = ff1; }
        { .backend = ff2; }
}

backend sp1 {
        .host = "184.72.7.220";
        .port = "8080";
        .probe = {
                .url = "/";
                .interval = 5s;
                .timeout = 1 s;
                .window = 5;
                .threshold = 3;
        }
}

backend sp2 {
        .host = "184.72.27.138";
        .port = "8080";
        .probe = {
                .url = "/";
                .interval = 5s;
                .timeout = 1 s;
                .window = 5;
                .threshold = 3;
        }
}

director sppool round-robin {
        { .backend = sp1; }
        { .backend = sp2; }
}




More information about the varnish-misc mailing list