<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Hello All,<br>
<br>
I have been trying to upgrade my production instance of Varnish 1.1.2.
to 2.01, but I have a problem that I can't figure out in the new
version.<br>
<br>
When loading a web page with a lot of images, some of the images do not
get displayed and instead I get a 503 Service Unavailable. When looking
at my lighty logs, I don't see those requests at all. When looking at
varnishlog, I can see "vcl_call error deliver". I'm not sure what to do
to identify why those 503 are happening, they seem to be random, but
only when I have a miss. I am not having this problem with 1.1.2.<br>
<br>
Does anyone have an idea what could be happening?<br>
<br>
Here's an excerpt from varnishlog:<br>
<br>
    9 ReqStart     c 70.83.84.29 4747 406814454<br>
    9 RxRequest    c GET<br>
    9 RxURL        c /starpreviews/118x118/0/0/974.jpg<br>
    9 RxProtocol   c HTTP/1.1<br>
    9 RxHeader     c Host: img1.sxx.com<br>
    9 RxHeader     c User-Agent: Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4<br>
    9 RxHeader     c Accept: image/png,image/*;q=0.8,*/*;q=0.5<br>
    9 RxHeader     c Accept-Language: en-us,en;q=0.5<br>
    9 RxHeader     c Accept-Encoding: gzip,deflate<br>
    9 RxHeader     c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>
    9 RxHeader     c Keep-Alive: 300<br>
    9 RxHeader     c Connection: keep-alive<br>
    9 RxHeader     c Referer:
<a class="moz-txt-link-freetext" href="http://www.sxx.com/stars/index/sex/female/list/E.html">http://www.sxx.com/stars/index/sex/female/list/E.html</a><br>
    9 RxHeader     c Cookie:
__utma=57286504.1072416550.1198780078.1229275966.1229278040.29;
__utmz=57286504.1221787148.9.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);
__utmb=57286504.5.10.1229278040; __utmc=57286504<br>
    9 VCL_call     c recv lookup<br>
    9 VCL_call     c hash hash<br>
    9 VCL_call     c miss fetch<br>
    9 Backend      c 32 default default<br>
<b>    9 VCL_call     c error deliver</b><br>
    9 Length       c 452<br>
    9 VCL_call     c deliver deliver<br>
    9 TxProtocol   c HTTP/1.1<br>
    9 TxStatus     c 503<br>
    9 TxResponse   c Service Unavailable<br>
    9 TxHeader     c Server: Varnish<br>
    9 TxHeader     c Retry-After: 0<br>
    9 TxHeader     c Content-Type: text/html; charset=utf-8<br>
    9 TxHeader     c Content-Length: 452<br>
    9 TxHeader     c Date: Sun, 14 Dec 2008 18:15:22 GMT<br>
    9 TxHeader     c X-Varnish: 406814454<br>
    9 TxHeader     c Age: 2<br>
    9 TxHeader     c Via: 1.1 varnish<br>
    9 TxHeader     c Connection: close<br>
    9 ReqEnd       c 406814454 1229278520.274427891
1229278522.459613085 0.000026941 2.185151100 0.000034094<br>
<br>
    9 SessionClose c error<br>
    9 StatSess     c 70.83.84.29 4747 9 1 4 0 0 3 1251 15914<br>
<br>
<br>
My configuration:<br>
<br>
backend default {<br>
  .host = "66.152.93.60";<br>
  .port = "8082";<br>
}<br>
<br>
sub vcl_recv {<br>
    #We change the url:<br>
    if (req.http.host ~ "^(img0|img1|img2|img3|img).") {<br>
      set req.http.host = "imgtest.sxx.com";<br>
    }<br>
    # remove useless headers<br>
    unset req.http.Cookie;<br>
    unset req.http.Authenticate;<br>
    unset req.http.Accept;<br>
    unset req.http.Accept-Language;<br>
    unset req.http.Accept-Encoding;<br>
    unset req.http.Accept-Charset;<br>
    unset req.http.Referer;<br>
}<br>
<br>
My varnishstat:<br>
  <a class="moz-txt-link-freetext" href="http://pastebin.com/f6e5d3b97">http://pastebin.com/f6e5d3b97</a><br>
<br>
Karl<br>
</body>
</html>