I was actually able to fix the error.. I had to increase http_max_hdr, http_req_hdr_len, and http_resp_hdr_len. Is is there any log letting you know when the headers exceed these values?
Jason On Feb 1, 2013, at 5:32 PM, Jason Heffner <[email protected]> wrote: > I didn't actually look too closely to the tcpdump till a few minutes later > and noticed the issue is caused by jetpack. I got a ticket open with them > now. I can see why Varnish decided to throw a 503. > > On Feb 1, 2013, at 4:50 PM, Jason Heffner <[email protected]> wrote: > >> I attached a tcpdump since a curl isn't practical; I would need to include >> cookies and the the correct string parameters to simulate the same action. >> >> http://pastebin.com/3GHYFUwD >> >> >> On Feb 1, 2013, at 12:55 PM, "Rangel, Raul" <[email protected]> wrote: >> >>> What does the backend log look like? >>> >>> In the log it shows >>> 16 FetchError c http format error >>> >>> What does curl show if you do the same request? >>> >>> -----Original Message----- >>> From: [email protected] >>> [mailto:[email protected]] On Behalf Of Jason Heffner >>> Sent: Friday, February 01, 2013 10:34 AM >>> To: [email protected] >>> Subject: Varnish 3.0.3 http error >>> >>> Hi, >>> >>> I've been through some of the archives on the list and have seen some >>> similar problems. I was wondering if anyone can tell why this particular >>> HTTP error might be caused? I also contacted the jetpack developers since >>> it is their plugin returning the HTTP error from apache on the backend. If >>> varnish is taken out of the setup the 302 redirect returned from apache >>> functions properly. I can recreate the issue on a development system, and >>> all other page loads are fine. >>> >>> Our setup: RHEL6, Pound 2.6.2, Varnish 3.0.3, Apache 2.2.15, php-fpm 5.3.21 >>> >>> I'd welcome any advice. >>> >>> Thanks, >>> Jason >>> >>> varnishlog -d -c -m TxStatus:503 >>> 16 ReqStart c xxx.xxx.xxx.xxx 45094 812364756 >>> 16 RxRequest c GET >>> 16 RxURL c >>> /wp-admin/admin.php?page=jetpack&action=authorize&_wpnonce=cec3b377a1&code=dhcULw6Zlg&state=2 >>> 16 RxProtocol c HTTP/1.1 >>> 16 RxHeader c Host: somesite.psu.edu >>> 16 RxHeader c User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X >>> 10.8; rv:18.0) Gecko/20100101 Firefox/18.0 >>> 16 RxHeader c Accept: >>> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 >>> 16 RxHeader c Accept-Language: en-US,en;q=0.5 >>> 16 RxHeader c Accept-Encoding: gzip, deflate >>> 16 RxHeader c Cookie: >>> __utma=165035810.2146825052.1359667423.1359667423.1359672023.2; >>> __utmc=165035810; >>> __utmz=165035810.1359667423.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); >>> bp-activity-oldestpage=1; __qca=P0-1744595654-1359667424495; >>> bp-activity-scope=all; bp >>> 16 RxHeader c Connection: keep-alive >>> 16 RxHeader c X-Forwarded-For: xxx.xxx.xxx.xxx >>> 16 VCL_call c recv pass >>> 16 VCL_call c hash >>> 16 Hash c >>> /wp-admin/admin.php?page=jetpack&action=authorize&_wpnonce=cec3b377a1&code=dhcULw6Zlg&state=2 >>> 16 Hash c somesite.psu.edu >>> 16 VCL_return c hash >>> 16 VCL_call c pass pass >>> 16 Backend c 14 default_director web1 >>> 16 FetchError c http format error >>> 16 VCL_call c error deliver >>> 16 VCL_call c deliver deliver >>> 16 TxProtocol c HTTP/1.1 >>> 16 TxStatus c 503 >>> 16 TxResponse c Service Unavailable >>> 16 TxHeader c Server: Varnish >>> 16 TxHeader c Content-Type: text/html; charset=utf-8 >>> 16 TxHeader c Retry-After: 5 >>> 16 TxHeader c Content-Length: 418 >>> 16 TxHeader c Accept-Ranges: bytes >>> 16 TxHeader c Date: Thu, 31 Jan 2013 22:46:08 GMT >>> 16 TxHeader c Age: 3 >>> 16 TxHeader c Connection: close >>> 16 TxHeader c X-Cache: MISS >>> 16 Length c 418 >>> 16 ReqEnd c 812364756 1359672365.351407051 1359672368.171207428 >>> 1.863311291 2.819756508 0.000043869 >>> >>> p: (814) 865-1840, c: (814) 777-7665 >>> Systems Administrator >>> Teaching and Learning with Technology, Information Technology Services The >>> Pennsylvania State University >>> >>> >>> _______________________________________________ >>> varnish-misc mailing list >>> [email protected] >>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc >> >> _______________________________________________ >> varnish-misc mailing list >> [email protected] >> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
