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?
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.
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 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 :)
You need to sign in. Please sign in to add answer to this question.