On 27/08/2013 7:30 a.m., Ahmad wrote:
hi , i want to ask about frequent warning in cache.log , it always occurs in youtube here is sample below : ======================================================================= 2013/08/26 21:23:38.003| WARNING: Closing client x.x.78.133 connection due to lifetime timeout 2013/08/26 21:23:38.003| http://r3---sn-25auxa-b15e.c.youtube.com/videoplayback?algorithm=throttle-factor&burst=40&clen=3116529&cp=U0hWTFVSTl9OT0NONl9NTFJDOkRVVldsRkY4Y3Za&cpn=GhqQknitnAkg_8jW&dur=270.033&expire=1377570295&factor=1.25&fexp=912305%2C927905%2C904834%2C900393%2C916611%2C929117%2C929121%2C929906%2C929907%2C929922%2C929127%2C929129%2C929131%2C929930%2C925726%2C925720%2C925722%2C925718%2C929917%2C906945%2C929919%2C929933%2C912521%2C932306%2C913428%2C920605%2C904830%2C919373%2C930803%2C904122%2C932211%2C938701%2C936308%2C909549%2C900816%2C912711%2C904494%2C904497%2C900375%2C906001&gir=yes&id=e9946fcac15b9258&ip=x.x.78.133&ipbits=8&itag=160&keepalive=yes&key=yt1&lmt=1371131426902416&ms=au&mt=1377543922&mv=m&range=540672-720895&ratebypass=yes&signature=3C71776F00EF3BDAE460E61F90C568F3087493EC.26D5B33E4CD2B031F29E52D498F5CDD344076DFB&source=youtube&sparams=algorithm%2Cburst%2Cclen%2Ccp%2Cdur%2Cfactor%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Csource%2Cupn%2Cexpire&sver=3&upn=xVOsGLE3DUs ============================================================= 1st all of that , this is just a sample and there are alot of samples similar to it :) Q1- what does this mean ??? does that mean that error occured on client side ?? was it dispertion in watching video or hanging in watching video ??
It means the client fetched one request and requested the connection keep-alive.
Then the client did not use the connection until Squid timed out waiting.
Q2- does this a harmful issue ? does squid affect youtube ??
It is only harmful in that the client connection was holding the socket resources for the timeout period needlessly.
Q3- if im not caching youtube videos , why should i allow youtube traffic to go to squid ??? is it better for me to deny youtube traffic from being injected in squid ??
Perhapse because your users are requesting it. Squid is a HTTP optimizing proxy not just a cache.
Amos