[Varnish] #377: Varnish sending empty http packets to the backend

Varnish varnish-bugs at projects.linpro.no
Sat Nov 15 05:06:44 CET 2008


#377: Varnish sending empty http packets to the backend
---------------------+------------------------------------------------------
 Reporter:  ibrezac  |        Type:  defect
   Status:  new      |    Priority:  normal
Milestone:           |   Component:  build 
  Version:  2.0      |    Severity:  normal
 Keywords:           |  
---------------------+------------------------------------------------------
 Varnish Version: 2.0.2[[BR]]
 OS: Solaris 10 x86-64 (amd64) U4[[BR]]
 Compiler: Sun Studio 12 (varnish does not compile with gcc 3.4.3)[[BR]]
 Behavior is the same using 32 or 64-bit builds[[BR]]
 [[BR]]
 Using a very simple vcl:
 {{{
 backend default {
 .host = "10.16.3.132";
 .port = "80";
 }
 }}}

 {{{
 varnishd -F -f /var/tmp/default.vcl
 storage_file: filename: ./varnish.4QaOMW (unlinked) size 202849 MB.
 Using old SHMFILE
 child (24891) Started
 Child (24891) said Closed fds: 3 5 9 10 12 13
 Child (24891) said Child starts
 Child (24891) said managed to mmap 212703117312 bytes of 212703117312
 Child (24891) said Ready
 }}}

 The backend server (apache) is not getting requests from varnish.  I
 inspected traffic on the wire and varnish is sending empty HTTP packets.

 {{{
      0.97 SessionOpen    127.0.0.1 61524 :80
      0.97 ReqStart       127.0.0.1 61524 728026802
      0.97 RxRequest      GET
      0.97 RxURL          /
      0.97 RxProtocol     HTTP/1.0
      0.97 RxHeader       User-Agent: Wget/1.10.2
      0.97 RxHeader       Accept: */*
      0.97 RxHeader       Host: www.ypass.net
      0.97 RxHeader       Connection: Keep-Alive
      0.97 VCL_call       recv
      0.97 VCL_return     lookup
      0.97 VCL_call       hash
      0.97 VCL_return     hash
      0.97 VCL_call       miss
      0.97 VCL_return     fetch
      0.97 VCL_call       error
      0.97 Length         452
      0.97 VCL_call       deliver
      0.97 TxProtocol     HTTP/1.1
      0.97 TxStatus       503
      0.97 TxResponse     Service Unavailable
      0.97 TxHeader       Server: Varnish
 }}}

 I'd be happy to provide more information.

 Thanks,[[BR]]
 -Igor

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/377>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list