Videocache is no longer in development.

Restart Scheduler

by Anonymous on 11 Mar 2009


I have a problem here, we set the maximum downloads to 5 on our videocache.conf, everything works fine until we have a loss of internet (Internet is really bad in our campus) and some of the downloads stay pending without any progress. I go to the console and delete those files but the slots ocupied by those downloads are never released and only if I restart squid a and apache it goes back to normal. Is there a way to make them resume the download or to free up the slots without the need to have to restart squid and apache all the time?


3 Answers

by Kulbir Saini on 12 Mar 2009


One quick way to get this done can be reloading the squid service. That way your squid need not be started and all other services remain un-affected. But remember that, it'll also clear the download queue.

Right now there is nothing which can do exactly what you want. It may be considered for future versions.

Thank You!

by Anonymous on 12 Mar 2009


Thanks I needed to check anyway. When you say reload the squid service is to do the command /etc/init.d/squid restart right? No need to do anything with apache.

You developed a great application that is basically saving our campus network from total overload. Keep up the great work.

by Kulbir Saini on 12 Mar 2009


By reload I meant "/etc/init.d/squid reload". That is even faster than "/etc/init.d/squid restart". And no need to worry about Apache and other things.

Enjoy caching :)