[Varnish] #1806: one minute delay on return (pipe) and a POST-Request

Varnish varnish-bugs at varnish-cache.org
Thu Oct 22 16:13:43 CEST 2015


#1806: one minute delay on return (pipe) and a POST-Request
-------------------+----------------------
 Reporter:  butzi  |       Type:  defect
   Status:  new    |   Priority:  normal
Milestone:         |  Component:  varnishd
  Version:  4.1.0  |   Severity:  major
 Keywords:         |
-------------------+----------------------
 sending a POST-Request to a ressource that is return (pipe); in vcl_fetch
 results sometimes (but quite often >50%) in a delayed delivery of nearly
 one minute.

 The parts of my vcl:
 {{{
 sub vcl_fetch {
     ...
     if (req.http.host ~ "callcenter") {
         return (pipe);
     }
     ...
 }

 sub vcl_pipe {
     set bereq.http.connection = "close";
     return (pipe);
 }
 }}}

 A line from varnishlog:
 {{{
 - Timestamp PipeSess: 1445515486.047836 61.341283 61.340986
 }}}

 Sometimes the value of the second and third number is 0.xxx seconds, so
 there is not a 100% failure. Calling GET-Ressources are working all the
 time, there is no delay detected.

 Sending the request directly to the apache server (without varnish in the
 middle), there is no delay.

 Currently the workaround for this bug is, to pass the ressource to the
 backends, but this should not be the default way for the future.

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



More information about the varnish-bugs mailing list