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

Varnish varnish-bugs at varnish-cache.org
Fri Nov 20 14:11:29 CET 2015


#1806: one minute delay on return (pipe) and a POST-Request
----------------------+-----------------------
 Reporter:  butzi     |       Owner:
     Type:  defect    |      Status:  needinfo
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  4.1.0
 Severity:  major     |  Resolution:
 Keywords:            |
----------------------+-----------------------

Comment (by Hilaus):

 More information:

 In my case, It’s with POST requests only, and only with Magento (I suppose
 because Magento uses different VCL from others that POST works fine).

 With 4.0.3 works perfectly, the problem is only with 4.1. The same system
 and configuration with 4.0.3 works fine. I update varnish to 4.1, and POST
 requests starts to fails (it waits 30s and send a timeout).

 A example when that happens (in this case, the host doesn't have SSL. But
 with SSL happens the same):


 {{{
 *   << Request  >> 458793
 -   Begin          req 458790 rxreq
 -   Timestamp      Start: 1447974382.917233 0.000000 0.000000
 -   Timestamp      Req: 1447974382.917233 0.000000 0.000000
 -   ReqStart       XX.XX.XX.XX 58583
 -   ReqMethod      POST
 -   ReqURL
 /checkout/cart/add/uenc/aHR0cDovL3d3dy5tdWVibGVzb3V0bGV0LmVzL21lc2EtZXN0dWRpby1ibGFuY2E,/product/93/form_key/3hgT3E2WEqG4scwk/
 -   ReqProtocol    HTTP/1.1
 -   ReqHeader      Host: www.example.com
 -   ReqHeader      Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
 -   ReqHeader      Accept-Encoding: gzip, deflate
 -   ReqHeader      Accept-Language: en-us
 -   ReqHeader      Content-Type: application/x-www-form-urlencoded
 -   ReqHeader      Origin: http://www.example.com
 -   ReqHeader      Content-Length: 59
 -   ReqHeader      Connection: keep-alive
 -   ReqHeader      User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X
 10_11_1) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1
 Safari/601.2.7
 -   ReqHeader      Referer: http://www.example.com/some-product
 -   ReqHeader      DNT: 1
 -   ReqHeader      Cookie: adminhtml=ieoo7or9epsnc18c4d9vt8brg2;
 customer_group=1; external_no_cache=1;
 frontend=2a56054eba7a4a7a896447b305372ee4;
 persistent_shopping_cart=cYHH5sXPRS7KeXFmzr4RG4bG3b58xlwXJVJKgtpNcgjOKdndVH;
 __utma=56641590.1642689172.1423557126.1447941509.
 -   ReqHeader      X-Forwarded-For: XX.XX.XX.XX
 -   VCL_call       RECV
 -   ReqUnset       X-Forwarded-For: XX.XX.XX.XX
 -   ReqHeader      X-Forwarded-For: XX.XX.XX.XX, XX.XX.XX.XX
 -   VCL_return     pipe
 -   VCL_call       HASH
 -   VCL_return     lookup
 -   Link           bereq 458794 pipe
 -   Timestamp      Pipe: 1447974382.917345 0.000112 0.000112
 -   Timestamp      PipeSess: 1447974412.917846 30.000613 30.000501
 -   PipeAcct       1118 1175 0 0
 -   End
 }}}

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



More information about the varnish-bugs mailing list