Hi everyone,

I am setting up a new server that will sit into a DMZ to serve as a reverse
proxy for our company's Lotus Domino webmail. Having heard about Varnish, my
choice couldn't be something else.

I've set it up with the default configuration, but its performance showed to
be very, very poor. I've tried some tweaks to the VCL config file, but it
did not change. Performance is twice, tree times worst than directly
accesing the original server.

Machine is a HP server DL320 G5p, Xeon dual-core 2,66Ghz, 2GB RAM.

I would appreciate some directions on what to do.

Thank you,
Marcelo L.

ps. below is my changed VCL config file:

backend default {
        set backend.host = "172.16.251.2";
        set backend.port = "80";
}


sub vcl_recv {
    if (req.request == "GET" && req.http.cookie) {
        lookup;
    }
}

sub vcl_fetch {
    if (obj.http.Set-Cookie) {
        insert;
    }
}

sub vcl_fetch {
    if (obj.ttl < 120s) {
        set obj.ttl = 120s;
    }
}

sub vcl_fetch {
    remove obj.http.Set-Cookie;
}

sub vcl_recv {
 if (req.request == "GET" && req.url ~ "\.(gif|jpg|swf|css|js).*") {
    lookup;
 }
}
_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to