[Varnish] #1163: .saintmode_threshold with ESI

Varnish varnish-bugs at varnish-cache.org
Thu Jul 5 16:04:30 CEST 2012


#1163: .saintmode_threshold  with ESI
----------------------------+-----------------------------------------------
 Reporter:  fenidik         |        Type:  defect
   Status:  new             |    Priority:  normal
Milestone:                  |   Component:  build 
  Version:  3.0.2           |    Severity:  normal
 Keywords:  esi, saintmode  |  
----------------------------+-----------------------------------------------
 .saintmode_threshold don't work properly with ESI. I have one 500 response
 from backend  and varnish mark him sick.


 {{{
     9 BackendOpen  b default 10.10.101.149 34973 10.10.101.193 80
     9 TxRequest    b GET
     9 TxURL        b /ru/analytics/
     9 TxProtocol   b HTTP/1.1
     9 TxHeader     b X-Real-IP: 192.168.73.52
     9 TxHeader     b Host: ************
     9 TxHeader     b Ext-Host: ********
     9 TxHeader     b X-Forwarded-For: 192.168.73.52
     9 TxHeader     b Authorization: Basic cHNkOmRzcA==
     9 TxHeader     b User-Agent: Mozilla/5.0 (X11; Linux i686)
 AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.41 Safari/536.11
     9 TxHeader     b Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     9 TxHeader     b Accept-Language: en-GB,en;q=0.8,en-US;q=0.6,ru;q=0.4
     9 TxHeader     b Accept-Charset: UTF-8,*;q=0.5
     9 TxHeader     b X-Cookie: sid=k6m4686butvgeetf6kec2oda66
     9 TxHeader     b Surrogate-Capability: Varnish=ESI/1.0
     9 TxHeader     b X-Varnish: 1401023776
     9 TxHeader     b Accept-Encoding: gzip
     9 RxProtocol   b HTTP/1.0
     9 RxStatus     b 200
     9 RxResponse   b OK
     9 RxHeader     b Date: Thu, 05 Jul 2012 13:39:16 GMT
     9 RxHeader     b Server: Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17
 OpenSSL/0.9.8n DAV/2 PHP/5.3.8 with Suhosin-Patch
     9 RxHeader     b X-Powered-By: PHP/5.3.8
     9 RxHeader     b cache-control: public, s-maxage=1200
     9 RxHeader     b surrogate-control: content="ESI/1.0"
     9 RxHeader     b Content-Length: 98992
     9 RxHeader     b Connection: close
     9 RxHeader     b Content-Type: text/html; charset=UTF-8
     9 Fetch_Body   b 4(length) cls 0 mklen 1
     9 Length       b 98992
     9 BackendClose b default
     9 BackendOpen  b default 10.10.101.149 34974 10.10.101.193 80
     9 TxRequest    b GET
     9 TxURL        b
 /_internal/gtt.company_news.controller.news%3AlistAction/_template%3D%253A%253Ablocks
 %252Ftop-panel%252Ftop-
 panel__company.html.twig%26pageSize%3D3%26_locale%3Dru%26stateless%3D1%26section%3Dmain.html
     9 TxProtocol   b HTTP/1.1
     9 TxHeader     b X-Real-IP: 192.168.73.52
     9 TxHeader     b Host: ******
     9 TxHeader     b Ext-Host: ********
     9 TxHeader     b X-Forwarded-For: 192.168.73.52
     9 TxHeader     b Authorization: Basic cHNkOmRzcA==
     9 TxHeader     b User-Agent: Mozilla/5.0 (X11; Linux i686)
 AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.41 Safari/536.11
     9 TxHeader     b Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     9 TxHeader     b Accept-Language: en-GB,en;q=0.8,en-US;q=0.6,ru;q=0.4
     9 TxHeader     b Accept-Charset: UTF-8,*;q=0.5
     9 TxHeader     b X-Cookie: sid=k6m4686butvgeetf6kec2oda66
     9 TxHeader     b Surrogate-Capability: Varnish=ESI/1.0
     9 TxHeader     b X-Varnish: 1401023776
     9 TxHeader     b Accept-Encoding: gzip
     9 RxProtocol   b HTTP/1.0
     9 RxStatus     b 200
     9 RxResponse   b OK
     9 RxHeader     b Date: Thu, 05 Jul 2012 13:39:16 GMT
     9 RxHeader     b Server: Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17
 OpenSSL/0.9.8n DAV/2 PHP/5.3.8 with Suhosin-Patch
     9 RxHeader     b X-Powered-By: PHP/5.3.8
     9 RxHeader     b cache-control: public, s-maxage=3600
     9 RxHeader     b Content-Length: 950
     9 RxHeader     b Connection: close
     9 RxHeader     b Content-Type: text/html; charset=UTF-8
     9 Fetch_Body   b 4(length) cls 0 mklen 1
     9 Length       b 950
     9 BackendClose b default
     9 BackendOpen  b default 10.10.101.149 34978 10.10.101.193 80
     9 TxRequest    b GET
     9 TxURL        b
 /_internal/gtt.company_news.controller.news%3AlistAction/_template%3D%253A%253Ablocks
 %252Ftop-panel%252Ftop-
 panel__regions.html.twig%26pageSize%3D3%26_locale%3Dru%26stateless%3D1%26section%3Dpartners%26withSections%3D1.html
     9 TxProtocol   b HTTP/1.1
     9 TxHeader     b X-Real-IP: 192.168.73.52
     9 TxHeader     b Host: ****
     9 TxHeader     b Ext-Host: *****
     9 TxHeader     b X-Forwarded-For: 192.168.73.52
     9 TxHeader     b Authorization: Basic cHNkOmRzcA==
     9 TxHeader     b User-Agent: Mozilla/5.0 (X11; Linux i686)
 AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.41 Safari/536.11
     9 TxHeader     b Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     9 TxHeader     b Accept-Language: en-GB,en;q=0.8,en-US;q=0.6,ru;q=0.4
     9 TxHeader     b Accept-Charset: UTF-8,*;q=0.5
     9 TxHeader     b X-Cookie: sid=k6m4686butvgeetf6kec2oda66
     9 TxHeader     b Surrogate-Capability: Varnish=ESI/1.0
     9 TxHeader     b X-Varnish: 1401023776
     9 TxHeader     b Accept-Encoding: gzip
     9 RxProtocol   b HTTP/1.0
     9 RxStatus     b 200
     9 RxResponse   b OK
     9 RxHeader     b Date: Thu, 05 Jul 2012 13:39:17 GMT
     9 RxHeader     b Server: Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17
 OpenSSL/0.9.8n DAV/2 PHP/5.3.8 with Suhosin-Patch
     9 RxHeader     b X-Powered-By: PHP/5.3.8
     9 RxHeader     b cache-control: public, s-maxage=3600
     9 RxHeader     b Content-Length: 1884
     9 RxHeader     b Connection: close
     9 RxHeader     b Content-Type: text/html; charset=UTF-8
     9 Fetch_Body   b 4(length) cls 0 mklen 1
     9 Length       b 1884
     9 BackendClose b default
     0 CLI          - Rd ping
     0 CLI          - Wr 200 19 PONG 1341495559 1.0
     0 Debug        - "VCL_error(500, Internal Server Error)"
     9 BackendOpen  b default 10.10.101.149 34981 10.10.101.193 80
     9 TxRequest    b GET
     9 TxURL        b
 /_internal/gtt.partnership.controller.main%3AbranchListAction/_template%3D%253A%253Ablocks
 %252Ftop-panel%252Ftop-
 panel__branches.html.twig%26_locale%3Dru%26stateless%3D1.html
     9 TxProtocol   b HTTP/1.1
     9 TxHeader     b X-Real-IP: 192.168.73.52
     9 TxHeader     b Host: ****
     9 TxHeader     b Ext-Host: *******
     9 TxHeader     b X-Forwarded-For: 192.168.73.52
     9 TxHeader     b Authorization: Basic cHNkOmRzcA==
     9 TxHeader     b User-Agent: Mozilla/5.0 (X11; Linux i686)
 AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.41 Safari/536.11
     9 TxHeader     b Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     9 TxHeader     b Accept-Language: en-GB,en;q=0.8,en-US;q=0.6,ru;q=0.4
     9 TxHeader     b Accept-Charset: UTF-8,*;q=0.5
     9 TxHeader     b X-Cookie: sid=k6m4686butvgeetf6kec2oda66
     9 TxHeader     b Surrogate-Capability: Varnish=ESI/1.0
     9 TxHeader     b X-Varnish: 1401023776
     9 TxHeader     b Accept-Encoding: gzip
     9 RxProtocol   b HTTP/1.0
     9 RxStatus     b 500
     9 RxResponse   b Internal Server Error
     9 RxHeader     b Date: Thu, 05 Jul 2012 13:39:18 GMT
     9 RxHeader     b Server: Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17
 OpenSSL/0.9.8n DAV/2 PHP/5.3.8 with Suhosin-Patch
     9 RxHeader     b X-Powered-By: PHP/5.3.8
     9 RxHeader     b cache-control: no-cache
     9 RxHeader     b Content-Length: 577
     9 RxHeader     b Connection: close
     9 RxHeader     b Content-Type: text/html; charset=UTF-8
     9 BackendClose b default
     3 SessionOpen  c 10.10.101.149 34972 :8080
     3 ReqStart     c 10.10.101.149 34972 1401023776
     3 RxRequest    c GET
     3 RxURL        c /ru/analytics/
     3 RxProtocol   c HTTP/1.0
     3 RxHeader     c X-Real-IP: 192.168.73.52
     3 RxHeader     c Host: ***
     3 RxHeader     c Ext-Host: ******
     3 RxHeader     c X-Forwarded-For: 192.168.73.52
     3 RxHeader     c Connection: close
     3 RxHeader     c Authorization: Basic cHNkOmRzcA==
     3 RxHeader     c User-Agent: Mozilla/5.0 (X11; Linux i686)
 AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.41 Safari/536.11
     3 RxHeader     c Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     3 RxHeader     c Accept-Encoding: gzip,deflate,sdch
     3 RxHeader     c Accept-Language: en-GB,en;q=0.8,en-US;q=0.6,ru;q=0.4
     3 RxHeader     c Accept-Charset: UTF-8,*;q=0.5
     3 RxHeader     c Cookie: __atuvc=2|20; ow-autologin=0; ow-
 sessionkey**-test=OWAxVDVOp%2Fxkw; ow-ssl=0; ow-loginname=test; ow-
 default_logindomain=**; ow-httpcompress=1; sid=k6m4686butvgeetf6kec2oda66;
 **_cookie_prolongate_time=134
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c /ru/analytics/
     3 Hash         c ***
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 Backend      c 9 default default
     3 TTL          c 1401023776 RFC 1200 -1 -1 1341495557 0 1341495556 0
 1200
     3 VCL_call     c fetch
     3 TTL          c 1401023776 VCL 1200 86400 -1 1341495556 -0
     3 VCL_return   c deliver
     3 ObjProtocol  c HTTP/1.1
     3 ObjResponse  c OK
     3 ObjHeader    c Date: Thu, 05 Jul 2012 13:39:16 GMT
     3 ObjHeader    c Server: Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17
 OpenSSL/0.9.8n DAV/2 PHP/5.3.8 with Suhosin-Patch
     3 ObjHeader    c X-Powered-By: PHP/5.3.8
     3 ObjHeader    c cache-control: public, s-maxage=1200
     3 ObjHeader    c Content-Type: text/html; charset=UTF-8
     3 VCL_call     c deliver
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 TxProtocol   c HTTP/1.1
     3 TxStatus     c 200
     3 TxResponse   c OK
     3 TxHeader     c cache-control: public, s-maxage=1200
     3 TxHeader     c Content-Type: text/html; charset=UTF-8
     3 TxHeader     c Date: Thu, 05 Jul 2012 13:39:16 GMT
     3 TxHeader     c Connection: close
     3 TxHeader     c Vary: Cookie
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c
 /_internal/gtt.company_news.controller.news%3AlistAction/_template%3D%253A%253Ablocks
 %252Ftop-panel%252Ftop-
 panel__company.html.twig%26pageSize%3D3%26_locale%3Dru%26stateless%3D1%26section%3Dmain.html
     3 Hash         c *
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 Backend      c 9 default default
     3 TTL          c 1401023776 RFC 3600 -1 -1 1341495558 0 1341495556 0
 3600
     3 VCL_call     c fetch
     3 TTL          c 1401023776 VCL 3601 86400 -1 1341495556 -1
     3 VCL_return   c deliver
     3 ObjProtocol  c HTTP/1.1
     3 ObjResponse  c OK
     3 ObjHeader    c Date: Thu, 05 Jul 2012 13:39:16 GMT
     3 ObjHeader    c Server: Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17
 OpenSSL/0.9.8n DAV/2 PHP/5.3.8 with Suhosin-Patch
     3 ObjHeader    c X-Powered-By: PHP/5.3.8
     3 ObjHeader    c cache-control: public, s-maxage=3600
     3 ObjHeader    c Content-Type: text/html; charset=UTF-8
     3 VCL_call     c deliver
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c
 /_internal/gtt.company_news.controller.news%3AlistAction/_template%3D%253A%253Ablocks
 %252Ftop-panel%252Ftop-
 panel__regions.html.twig%26pageSize%3D3%26_locale%3Dru%26stateless%3D1%26section%3Dpartners%26withSections%3D1.html
     3 Hash         c **
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 Backend      c 9 default default
     3 TTL          c 1401023776 RFC 3600 -1 -1 1341495559 0 1341495557 0
 3600
     3 VCL_call     c fetch
     3 TTL          c 1401023776 VCL 3602 86400 -1 1341495556 -2
     3 VCL_return   c deliver
     3 ObjProtocol  c HTTP/1.1
     3 ObjResponse  c OK
     3 ObjHeader    c Date: Thu, 05 Jul 2012 13:39:17 GMT
     3 ObjHeader    c Server: Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17
 OpenSSL/0.9.8n DAV/2 PHP/5.3.8 with Suhosin-Patch
     3 ObjHeader    c X-Powered-By: PHP/5.3.8
     3 ObjHeader    c cache-control: public, s-maxage=3600
     3 ObjHeader    c Content-Type: text/html; charset=UTF-8
     3 VCL_call     c deliver
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c
 /_internal/gtt.partnership.controller.main%3AbranchListAction/_template%3D%253A%253Ablocks
 %252Ftop-panel%252Ftop-
 panel__branches.html.twig%26_locale%3Dru%26stateless%3D1.html
     3 Hash         c ***
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 Backend      c 9 default default
     3 TTL          c 1401023776 RFC -1 -1 -1 1341495559 0 1341495558 0 0
     3 VCL_call     c fetch error
     3 VCL_call     c error restart
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c
 /_internal/gtt.partnership.controller.main%3AbranchListAction/_template%3D%253A%253Ablocks
 %252Ftop-panel%252Ftop-
 panel__branches.html.twig%26_locale%3Dru%26stateless%3D1.html
     3 Hash         c ***
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c deliver
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/GttCoreBundle%3ATemplate%3Arender/_template%3D%253A%253Ablocks
 %252Ftop-panel%252Ftop-panel__lk.html.twig%26_locale%3Dru.html
     3 Hash         c ***
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error restart
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/GttCoreBundle%3ATemplate%3Arender/_template%3D%253A%253Ablocks
 %252Ftop-panel%252Ftop-panel__lk.html.twig%26_locale%3Dru.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c deliver
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/GttCoreBundle%3ATemplate%3Arender/_template%3D%253A%253Apages%252Fanalytics%252Findex__button_become-a-client.html.twig%26_locale%3Dru.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error restart
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/GttCoreBundle%3ATemplate%3Arender/_template%3D%253A%253Apages%252Fanalytics%252Findex__button_become-a-client.html.twig%26_locale%3Dru.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c deliver
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/GttCoreBundle%3ATemplate%3Arender/_template%3D%253A%253Apages%252Fanalytics
 %252Findex__button_dow-jones-auth.html.twig%26_locale%3Dru.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error restart
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/GttCoreBundle%3ATemplate%3Arender/_template%3D%253A%253Apages%252Fanalytics
 %252Findex__button_dow-jones-auth.html.twig%26_locale%3Dru.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c deliver
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c
 /_internal/gtt.informer.controller.news%3AgetDataAction/_template%3D%253A%253Apages%252Fanalytics
 %252Findex__next-news.html.twig%26lang%3Dru%26stateless%3D1.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error restart
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c
 /_internal/gtt.informer.controller.news%3AgetDataAction/_template%3D%253A%253Apages%252Fanalytics
 %252Findex__next-news.html.twig%26lang%3Dru%26stateless%3D1.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c deliver
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/gtt.trading_central.controller.main%3AredirectAction/_template%3D%253A%253Apages%252Fanalytics
 %252Findex__button_trading-central-auth.html.twig%26_locale%3Dru.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error restart
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/gtt.trading_central.controller.main%3AredirectAction/_template%3D%253A%253Apages%252Fanalytics
 %252Findex__button_trading-central-auth.html.twig%26_locale%3Dru.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c deliver
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/GttCoreBundle%3ATemplate%3Arender/_template%3D%253A%253Apages%252Fanalytics
 %252Findex__button_autochartist-auth.html.twig%26_locale%3Dru.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error restart
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/GttCoreBundle%3ATemplate%3Arender/_template%3D%253A%253Apages%252Fanalytics
 %252Findex__button_autochartist-auth.html.twig%26_locale%3Dru.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c deliver
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/GttCoreBundle%3ATemplate%3Arender/_template%3D%253A%253Apages%252Fanalytics
 %252Findex__button_squawk-auth.html.twig%26_locale%3Dru.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error restart
     3 VCL_call     c recv lookup
     3 VCL_call     c hash
     3 Hash         c sid=k6m4686butvgeetf6kec2oda66
     3 Hash         c
 /_internal/GttCoreBundle%3ATemplate%3Arender/_template%3D%253A%253Apages%252Fanalytics
 %252Findex__button_squawk-auth.html.twig%26_locale%3Dru.html
     3 Hash         c
     3 VCL_return   c hash
     3 VCL_call     c miss fetch
     3 FetchError   c no backend connection
     3 VCL_call     c error
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 VCL_call     c deliver
     3 VCL_acl      c NO_MATCH developers
     3 VCL_return   c deliver
     3 Length       c 3522

 }}}

 Config:


 {{{
 ################## PROBES CONFIGURATION ##################
 probe heartbeat {
     .url = "/_health/";
     .interval = 5s;
     .timeout = 5s;
     .window = 8;
     .threshold = 3;
 }


 ################## BACKENDS CONFIGURATION #################

 #
 backend default {
     .host = "***";
     .port = "80";
     .probe = heartbeat;
     .saintmode_threshold = 50;
 }

 <skip>

 if (beresp.status == 500 || beresp.status == 503) {
         set beresp.saintmode = 10s;
     }
 if (beresp.http.Surrogate-Control ~ "ESI/1.0") {
         unset beresp.http.Surrogate-Control;

         // for Varnish >= 3.0
         set beresp.do_esi = true;
         // for Varnish < 3.0
         // esi;
     }

 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1163>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list