Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Bugs
#1112: Varnish delivers truncated files when serving from Tomcat7 Backend and ESI enabled
 

Index | Next | Previous | View Flat


varnish-bugs at varnish-cache

Mar 22, 2012, 5:47 AM


Views: 520
Permalink
#1112: Varnish delivers truncated files when serving from Tomcat7 Backend and ESI enabled

#1112: Varnish delivers truncated files when serving from Tomcat7 Backend and ESI
enabled
---------------------+------------------------------------------------------
Reporter: derjohn | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: 3.0.2 | Severity: normal
Keywords: |
---------------------+------------------------------------------------------
Hello,
in our setup we have a varnish in front of several Tomcat7. When Tomcat7
delivers static content, it uses chunked tranfers.

We'hit by a bug in that combination. The user gets the static content
(e.g. jquery.js) and receives a 200 status, but the content sometimes (!)
is not transferred completely. E.G. there jquery.js get truncated after
some kilobytes. My observation was, that this happens mostly (only?) if
the backend is reused.

In the logs I see such error msgs, which correlate to the error:

19 Debug c Hit send timeout, wrote = 11680/21115; retrying
19 Debug c Write error, retval = -1, len = 9435, errno = Resource
temporarily unavailable

To test I use a simple script like that and look if the outputs is always
the same or not:

for i in $(seq 1 1000); do curl -s -x "" -k
'http://$HOST/...011_jquery-1.7.1.js' | md5sum ; done

I tried varnish 3.0.2 and some newer trunks, the effect is still the same.

The same setup runs with the same config with varnish2.1.5 fine. (I had to
adapt the config parts of ESI enabling, as the syntax changed from 2.x to
3.x).

rgds,
derjohn

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs

Subject User Time
#1112: Varnish delivers truncated files when serving from Tomcat7 Backend and ESI enabled varnish-bugs at varnish-cache Mar 22, 2012, 5:47 AM
    Re: #1112: Varnish delivers truncated files when serving from Tomcat7 Backend and ESI enabled varnish-bugs at varnish-cache Mar 22, 2012, 5:49 AM
    Re: #1112: Varnish delivers truncated files when serving from Tomcat7 Backend and ESI enabled varnish-bugs at varnish-cache Mar 26, 2012, 3:13 AM
    Re: #1112: Varnish delivers truncated files when serving from Tomcat7 Backend and ESI enabled varnish-bugs at varnish-cache Mar 30, 2012, 10:59 AM
    Re: #1112: Varnish delivers truncated files when serving from Tomcat7 Backend and ESI enabled varnish-bugs at varnish-cache Apr 16, 2012, 3:10 AM
    Re: #1112: Varnish delivers truncated files when serving from Tomcat7 Backend and ESI enabled varnish-bugs at varnish-cache Apr 16, 2012, 5:28 AM
    Re: #1112: Varnish delivers truncated files when serving from Tomcat7 Backend and ESI enabled varnish-bugs at varnish-cache May 21, 2012, 3:29 AM
    Re: #1112: Varnish delivers truncated files when serving from Tomcat7 Backend and ESI enabled varnish-bugs at varnish-cache Apr 22, 2014, 2:08 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.