Varnish with squid backend

Indranil Chakravorty indranilc at rediff-inc.com
Fri Feb 25 13:08:07 CET 2011


Hi,  I am using squid for byte range support for playing videos.My initial lands up on varnish and then I send a call to squid which acts as myorigin for content delivery. I am getting below errors every time I try to callsquid and serve that file.      13 TxHeader     c Expires:Wed, 22 Feb 2012 03:26:22 GMT   13 TxHeader     cX-SO-Time: Tue Feb 22 8:56:22 IST 2011   13 TxHeader     cContent-Type: video/flv   13 TxHeader     cLast-Modified: Fri, 25 Feb 2011 11:30:20 GMT   13 TxHeader     cCache-Control: max-age=31536000   13 TxHeader     cContent-Length: 76445689   13 TxHeader     c Date: Fri,25 Feb 2011 11:30:29 GMT   13 TxHeader     cConnection: keep-alive   13 TxHeader     c X-Cache:TCP_MISS   13Debug        c "Write error, len =68400/76446042, errno = Success"  Analysis: Session traced from Client to Varnish to squid and back.  Client à varnish à squid then Squid à varnish à client  Everything goes well.  Squid sends complete data tovarnish but it inturn does not return it back to client which is holding thesession.  I tried modifying some parameters   Param                           Default                         Modified fetch_chunksize           128 [kilobytes]               512send_timeout              600 [seconds]                1800sess_timeout              5 [seconds]                    600between_bytes_timeout     60.000000 [s]           120  But did not succeed; is there anything which makes varnishirresponsive; since the second request where varnish has cached that data iswell responded.   Is there any way where I can make this work on firstrequest?   Regards,     Anand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110225/3cda3bbe/attachment-0003.html>


More information about the varnish-misc mailing list