Varnish return 503 (no backend connection) and never can back

Fabio Gomes dos Santos supergrilo at gmail.com
Thu Jul 11 22:11:39 CEST 2013


i have a problem using varnish 3.0 and debian wheezy. When i use backend on
command line, everything works. If i use init script, after some
connections varnish return 503 and never can back. Backend is not a sick
mode, health check still return 200, varnishlog only retorns  '4 FetchError
  c no backend connection'.


Full varnishlog request:

    0 Backend_health - foo Still healthy 4--X-RH 5 3 5 0.735348 0.733736
HTTP/1.1 200 OK

    0 Backend_health - bar Still healthy 4--X-RH 5 3 5 0.735955 0.730752
HTTP/1.1 200 OK

    0 CLI          - Rd ping

    0 CLI          - Wr 200 19 PONG 1373573348 1.0

    0 CLI          - Rd ping

    0 CLI          - Wr 200 19 PONG 1373573351 1.0

    0 Backend_health - foo Still healthy 4--X-RH 5 3 5 0.749470 0.737669
HTTP/1.1 200 OK

    0 Backend_health - bar Still healthy 4--X-RH 5 3 5 0.714554 0.726702
HTTP/1.1 200 OK

    0 CLI          - Rd ping

    0 CLI          - Wr 200 19 PONG 1373573354 1.0

    0 CLI          - Rd ping

    0 CLI          - Wr 200 19 PONG 1373573357 1.0

    0 Backend_health - foo Still healthy 4--X-RH 5 3 5 0.748910 0.740479
HTTP/1.1 200 OK

    0 Backend_health - bar Still healthy 4--X-RH 5 3 5 0.763746 0.735963
HTTP/1.1 200 OK

    0 CLI          - Rd ping

    0 CLI          - Wr 200 19 PONG 1373573360 1.0

    0 CLI          - Rd ping

    0 CLI          - Wr 200 19 PONG 1373573363 1.0

    0 Backend_health - foo Still healthy 4--X-RH 5 3 5 0.733996 0.738859
HTTP/1.1 200 OK

    0 Backend_health - bar Still healthy 4--X-RH 5 3 5 0.708820 0.729177
HTTP/1.1 200 OK

   12 SessionOpen  c 177.126.186.3 38253 :80

   12 ReqStart     c 177.126.186.3 38253 834855100

   12 RxRequest    c HEAD

   12 RxURL        c
/local/sp/bariri/bancos/C4037652224C3E4C3E/banco_santander_banespa_sa.html

   12 RxProtocol   c HTTP/1.1

   12 RxHeader     c User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu)
libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6

   12 RxHeader     c Host: ec2-54-224-160-79.compute-1.amazonaws.com

   12 RxHeader     c Accept: */*

   12 VCL_call     c recv lookup

   12 VCL_call     c hash

   12 Hash         c
/local/sp/bariri/bancos/C4037652224C3E4C3E/banco_santander_banespa_sa.html

   12 Hash         c ec2-54-224-160-79.compute-1.amazonaws.com

   12 VCL_return   c hash

   12 VCL_call     c miss fetch

   12 FetchError   c no backend connection

   12 VCL_call     c error deliver

   12 VCL_call     c deliver deliver

   12 TxProtocol   c HTTP/1.1

   12 TxStatus     c 503

   12 TxResponse   c Service Unavailable

   12 TxHeader     c Server: Varnish

   12 TxHeader     c Content-Type: text/html; charset=utf-8

   12 TxHeader     c Retry-After: 5

   12 TxHeader     c Content-Length: 418

   12 TxHeader     c Accept-Ranges: bytes

   12 TxHeader     c Date: Thu, 11 Jul 2013 20:09:24 GMT

   12 TxHeader     c Age: 0

   12 TxHeader     c Connection: close

   12 Length       c 418

   12 ReqEnd       c 834855100 1373573364.686753750 1373573364.686913252
0.000081301 0.000107527 0.000051975

   12 SessionClose c error

   12 StatSess     c 177.126.186.3 38253 0 1 1 0 0 0 216 418

    0 CLI          - Rd ping

    0 CLI          - Wr 200 19 PONG 1373573366 1.0



-- 
Fábio Santos
supergrilo at gmail.com
<http://br.linkedin.com/pub/f%C3%A1bio-santos/1b/20/422>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130711/e77b7616/attachment.html>


More information about the varnish-misc mailing list