VideoCache
Videocache is no longer in development.

Multi cache directories

by Anonymous on 12 Nov 2010

Hi,

How i can set Multi cache directories?

Like

base_dir = /var/spool/videocache/ | /storage/videocache1

I try it's give me an occurred error.

pls help me.

Thanks.

3 Answers

by Kulbir Saini on 12 Nov 2010

Hi!

Can you please be a bit specific about the error you are getting? Are you getting the error in videocache logs or in browser? If I am guessing it right, you didn't run update-vc after updating your videocache.conf. Please check update-vc page for more details.

Thank You!

by yonell on 1 Dec 2010

HI,

VideoCache is giving an error that i dont know how to solve it.
it is not caching videos. when I update-vc, then httpd
restart and restart the squid, videocache catch videos for a couple of minutes, then stops. the strange thing is that it dont give me any error.

here is a videocache log.

2010-12-01 09:44:20,549 4665 172.16.6.2 - REQUEST - http://v3.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dYRlJOVV9FSkNNOF9KSFlD&fexp=904520&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&expire=1291237200&key=yt1&signature=D21B18A103E9F1FF2C5C46AA52135895022EBAEE.A477BC26C7B0A191C6F262B9FDF99ECE485FE6A7&factor=1.25&id=edb6023f0ff10c20&
2010-12-01 09:44:20,554 4666 172.16.6.2 - REQUEST - http://www.youtube.com/get_video?fmt=34&video_id=7bYCPw_xDCA&el=detailpage&t=vjVQa1PpcFP9JTcFtVADPGRbU_N2hSLoZJIoSjCDbWI=&noflv=1&asv=3&tmi=1
2010-12-01 09:44:20,555 4666 172.16.6.2 7bYCPw_xDCA URL_HIT YOUTUBE http://www.youtube.com/get_video?fmt=34&video_id=7bYCPw_xDCA&el=detailpage&t=vjVQa1PpcFP9JTcFtVADPGRbU_N2hSLoZJIoSjCDbWI=&noflv=1&asv=3&tmi=1
2010-12-01 09:44:20,565 4666 172.16.6.2 7bYCPw_xDCA CACHE_MISS YOUTUBE Requested video was not found in cache.
2010-12-01 09:44:20,569 4666 172.16.6.2 7bYCPw_xDCA NEW_URL YOUTUBE http://www.youtube.com/get_video?fmt=34&video_id=7bYCPw_xDCA&el=detailpage&t=vjVQa1PpcFP9JTcFtVADPGRbU_N2hSLoZJIoSjCDbWI=&noflv=1&asv=3&tmi=1
2010-12-01 09:44:20,570 4666 172.16.6.2 7bYCPw_xDCA URL_HIT YOUTUBE http://www.youtube.com/get_video?fmt=34&video_id=7bYCPw_xDCA&el=detailpage&t=vjVQa1PpcFP9JTcFtVADPGRbU_N2hSLoZJIoSjCDbWI=&noflv=1&asv=3&tmi=1
2010-12-01 09:44:20,571 4666 172.16.6.2 7bYCPw_xDCA CACHE_MISS YOUTUBE Requested video was not found in cache.
2010-12-01 09:44:20,576 4666 172.16.6.2 7bYCPw_xDCA NEW_URL YOUTUBE http://www.youtube.com/get_video?fmt=34&video_id=7bYCPw_xDCA&el=detailpage&t=vjVQa1PpcFP9JTcFtVADPGRbU_N2hSLoZJIoSjCDbWI=&noflv=1&asv=3&tmi=1
2010-12-01 09:44:34,518 4665 172.16.6.2 - REQUEST - http://v24.lscache4.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dYRlJOVV9FSkNNOF9KSFlD&fexp=901306%2C907040%2C909600&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&expire=1291237200&key=yt1&signature=063FD7BF8C077578E2A6666AF9D4FB83968D34F4.D77B3AA19C7AFD78504BA9CDDF6F648382A1C3A3&factor=1.25&id=d350a59cc9e2f499&
2010-12-01 09:44:34,626 4665 172.16.6.2 - REQUEST - http://www.youtube.com/get_video?noflv=1&video_id=01ClnMni9Jk&el=detailpage&tmi=1&fmt=34&asv=3&t=vjVQa1PpcFPYc4zIuHrJriV0lZju4dx9wjvOS8GNHBg=
2010-12-01 09:44:34,626 4665 172.16.6.2 01ClnMni9Jk URL_HIT YOUTUBE http://www.youtube.com/get_video?noflv=1&video_id=01ClnMni9Jk&el=detailpage&tmi=1&fmt=34&asv=3&t=vjVQa1PpcFPYc4zIuHrJriV0lZju4dx9wjvOS8GNHBg=
2010-12-01 09:44:34,627 4665 172.16.6.2 01ClnMni9Jk CACHE_MISS YOUTUBE Requested video was not found in cache.
2010-12-01 09:44:34,631 4665 172.16.6.2 01ClnMni9Jk NEW_URL YOUTUBE http://www.youtube.com/get_video?noflv=1&video_id=01ClnMni9Jk&el=detailpage&tmi=1&fmt=34&asv=3&t=vjVQa1PpcFPYc4zIuHrJriV0lZju4dx9wjvOS8GNHBg=
2010-12-01 09:44:34,632 4665 172.16.6.2 01ClnMni9Jk URL_HIT YOUTUBE http://www.youtube.com/get_video?noflv=1&video_id=01ClnMni9Jk&el=detailpage&tmi=1&fmt=34&asv=3&t=vjVQa1PpcFPYc4zIuHrJriV0lZju4dx9wjvOS8GNHBg=
2010-12-01 09:44:34,633 4665 172.16.6.2 01ClnMni9Jk CACHE_MISS YOUTUBE Requested video was not found in cache.
2010-12-01 09:44:34,636 4665 172.16.6.2 01ClnMni9Jk NEW_URL YOUTUBE http://www.youtube.com/get_video?noflv=1&video_id=01ClnMni9Jk&el=detailpage&tmi=1&fmt=34&asv=3&t=vjVQa1PpcFPYc4zIuHrJriV0lZju4dx9wjvOS8GNHBg=
2010-12-01 09:44:50,509 4665 172.16.6.2 - REQUEST - http://www.youtube.com/get_video?el=detailpage&asv=3&fmt=34&video_id=Qt2mbGP6vFI&noflv=1&ptk=wmg&t=vjVQa1PpcFO9A2ETGqA4ZmBbQOjiIvM0CqD71JJB1vk=
2010-12-01 09:44:50,509 4665 172.16.6.2 Qt2mbGP6vFI URL_HIT YOUTUBE http://www.youtube.com/get_video?el=detailpage&asv=3&fmt=34&video_id=Qt2mbGP6vFI&noflv=1&ptk=wmg&t=vjVQa1PpcFO9A2ETGqA4ZmBbQOjiIvM0CqD71JJB1vk=
2010-12-01 09:44:50,510 4665 172.16.6.2 Qt2mbGP6vFI CACHE_MISS YOUTUBE Requested video was not found in cache.
2010-12-01 09:44:50,514 4665 172.16.6.2 Qt2mbGP6vFI NEW_URL YOUTUBE http://www.youtube.com/get_video?el=detailpage&asv=3&fmt=34&video_id=Qt2mbGP6vFI&noflv=1&ptk=wmg&t=vjVQa1PpcFO9A2ETGqA4ZmBbQOjiIvM0CqD71JJB1vk=
2010-12-01 09:44:50,515 4665 172.16.6.2 Qt2mbGP6vFI URL_HIT YOUTUBE http://www.youtube.com/get_video?el=detailpage&asv=3&fmt=34&video_id=Qt2mbGP6vFI&noflv=1&ptk=wmg&t=vjVQa1PpcFO9A2ETGqA4ZmBbQOjiIvM0CqD71JJB1vk=
2010-12-01 09:44:50,516 4665 172.16.6.2 Qt2mbGP6vFI CACHE_MISS YOUTUBE Requested video was not found in cache.
2010-12-01 09:44:50,521 4665 172.16.6.2 Qt2mbGP6vFI NEW_URL YOUTUBE http://www.youtube.com/get_video?el=detailpage&asv=3&fmt=34&video_id=Qt2mbGP6vFI&noflv=1&ptk=wmg&t=vjVQa1PpcFO9A2ETGqA4ZmBbQOjiIvM0CqD71JJB1vk=
2010-12-01 09:44:50,874 4665 172.16.6.2 - REQUEST - http://v17.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dYRlJOVV9FSkNNOF9KSFlD&fexp=901306%2C907040%2C909600&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&expire=1291237200&key=yt1&signature=42658F83F4F31886BEB17BF0B0AD58D71B86BD22.0F685D56DE1ADDC58A00F69BAFE98CE79B96F18D&factor=1.25&id=42dda66c63fabc52&
2010-12-01 09:44:54,830 4665 172.16.6.2 - REQUEST - http://v12.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass%2Coc%3AU0dYRlJOVV9FSkNNOF9KSFlD&fexp=901306%2C906912&itag=18&ipbits=0&sver=3&ratebypass=yes&expire=1291237200&key=yt1&signature=190363EC48FD62E9A6A41E294BEFF1C097C46A60.0437D87757FF2A48FED69091FD0A77960ACE72BA&id=6060e32764b2a032
2010-12-01 09:44:55,351 4665 172.16.6.2 - REQUEST - http://v4.cache6.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass%2Coc%3AU0dYRlJOVV9FSkNNOF9KSFlD&fexp=901306%2C906912&itag=18&ipbits=0&sver=3&ratebypass=yes&expire=1291237200&key=yt1&signature=190363EC48FD62E9A6A41E294BEFF1C097C46A60.0437D87757FF2A48FED69091FD0A77960ACE72BA&id=6060e32764b2a032&redirect_counter=1
2010-12-01 09:44:55,854 4665 172.16.6.2 - REQUEST - http://v12.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass%2Coc%3AU0dYRlJOVV9FSkNNOF9KSFlD&fexp=901306%2C906912&itag=18&ipbits=0&sver=3&ratebypass=yes&expire=1291237200&key=yt1&signature=190363EC48FD62E9A6A41E294BEFF1C097C46A60.0437D87757FF2A48FED69091FD0A77960ACE72BA&id=6060e32764b2a032
2010-12-01 09:45:20,152 4665 172.16.6.2 - REQUEST - http://cdn.ec.redtube.com/_videos_t4vn23s9jc5498tgj49icfj4678/0000040/B8HDAD0GC.flv?47aac1f74dca44b0626f9b5acf21d75cd5dee7e8937c9cd51b261a48bb60d1a9d0266f2553f8e87e8c46b726cd3cc29b6a6ef477e98d9140b73b&ec_seek=0
2010-12-01 09:45:20,152 4665 172.16.6.2 B8HDAD0GC.flv URL_HIT REDTUBE http://cdn.ec.redtube.com/_videos_t4vn23s9jc5498tgj49icfj4678/0000040/B8HDAD0GC.flv?47aac1f74dca44b0626f9b5acf21d75cd5dee7e8937c9cd51b261a48bb60d1a9d0266f2553f8e87e8c46b726cd3cc29b6a6ef477e98d9140b73b&ec_seek=0
2010-12-01 09:45:20,613 4665 172.16.6.2 B8HDAD0GC.flv CACHE_MISS REDTUBE Requested video was not found in cache.
2010-12-01 09:45:20,618 4665 172.16.6.2 B8HDAD0GC.flv NEW_URL REDTUBE http://cdn.ec.redtube.com/_videos_t4vn23s9jc5498tgj49icfj4678/0000040/B8HDAD0GC.flv?47aac1f74dca44b0626f9b5acf21d75cd5dee7e8937c9cd51b261a48bb60d1a9d0266f2553f8e87e8c46b726cd3cc29b6a6ef477e98d9140b73b&ec_seek=0

Please help me.

Yonell

by Kulbir Saini on 2 Dec 2010

Hi Yonell,

Something went wrong with your XMLRPC server I guess. Can you try restarting videocache and Squid after killing all python processes?

Thanks!