RE: [squid-users] Squid cache_dir failed - can squid survive?
Dear henrik, If you have only one physical machine what is the best strategy for miminmizing the downtime and rebuild the cache directory again or start utilizing the squid without the cache directory? I assume we have to reinstall the Squid Software? Please guide From: hen...@henriknordstrom.net To: gina...@gmail.com CC: squid-users@squid-cache.org Date: Sat, 13 Mar 2010 09:32:30 +0100 Subject: Re: [squid-users] Squid cache_dir failed - can squid survive? fre 2010-03-12 klockan 14:28 -0800 skrev Maykeen: I want to know, if squid is able to survive if it suddenly loses access to its cache directories, for example, stop caching requests and just serving as a proxy. Is there a way to do this, instead of squid termintaing when this happens? Squid is not currently designed to handle this and will terminate. What you can do to handle this situation is to run two Squids, one just as a proxy and the other with the cache. The proxy only one uses the cache one as parent. Regards Henrik _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969
Re: [squid-users] Squid cache_dir failed - can squid survive?
I wonder about the value of http cache, when the majority of high volume sites used in the corporate environment are dynamic. http://www.mnot.net/cache_docs/ How is the no-cache HTTP header handled by Squid? I didn't see the value in it, and used the cache_dir null /tmp to stop it http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid cheers Ivan On Thu, Mar 18, 2010 at 5:16 PM, GIGO . gi...@msn.com wrote: Dear henrik, If you have only one physical machine what is the best strategy for miminmizing the downtime and rebuild the cache directory again or start utilizing the squid without the cache directory? I assume we have to reinstall the Squid Software? Please guide From: hen...@henriknordstrom.net To: gina...@gmail.com CC: squid-users@squid-cache.org Date: Sat, 13 Mar 2010 09:32:30 +0100 Subject: Re: [squid-users] Squid cache_dir failed - can squid survive? fre 2010-03-12 klockan 14:28 -0800 skrev Maykeen: I want to know, if squid is able to survive if it suddenly loses access to its cache directories, for example, stop caching requests and just serving as a proxy. Is there a way to do this, instead of squid termintaing when this happens? Squid is not currently designed to handle this and will terminate. What you can do to handle this situation is to run two Squids, one just as a proxy and the other with the cache. The proxy only one uses the cache one as parent. Regards Henrik _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969
Re: [squid-users] Squid cache_dir failed - can squid survive?
tor 2010-03-18 klockan 17:25 +1100 skrev Ivan .: I wonder about the value of http cache, when the majority of high volume sites used in the corporate environment are dynamic. http://www.mnot.net/cache_docs/ Hit ratio have not declined that much in the last decade. It's still around 25-30% byte hit ratio and significantly more in request hit ratio. While it's true that a lot of the html content is more dynamic than before there is also lots more inlined content such as images etc which are plain static and caches just fine and these make up for the majority of the traffic. How is the no-cache HTTP header handled by Squid? By default as if the response is not cachable. Somewhat stricter than the specifications require, but more in line with what web authors expect when using this directive. Regards Henrik
Re: [squid-users] Squid cache_dir failed - can squid survive?
I noticed an improvement when I disabled it, which may have something to do with my cache settings, but I tried a number of config combos without much success 2010/3/18 Henrik Nordström hen...@henriknordstrom.net: tor 2010-03-18 klockan 17:25 +1100 skrev Ivan .: I wonder about the value of http cache, when the majority of high volume sites used in the corporate environment are dynamic. http://www.mnot.net/cache_docs/ Hit ratio have not declined that much in the last decade. It's still around 25-30% byte hit ratio and significantly more in request hit ratio. While it's true that a lot of the html content is more dynamic than before there is also lots more inlined content such as images etc which are plain static and caches just fine and these make up for the majority of the traffic. How is the no-cache HTTP header handled by Squid? By default as if the response is not cachable. Somewhat stricter than the specifications require, but more in line with what web authors expect when using this directive. Regards Henrik
RE: [squid-users] Squid cache_dir failed - can squid survive?
Is it possible to run two instances/processes of squid on the same physicail machine that is one with cache and other in proxy only mode? is that what u mean ? how. From: hen...@henriknordstrom.net To: gi...@msn.com CC: gina...@gmail.com; squid-users@squid-cache.org Date: Thu, 18 Mar 2010 09:54:34 +0100 Subject: RE: [squid-users] Squid cache_dir failed - can squid survive? tor 2010-03-18 klockan 06:16 + skrev GIGO .: Dear henrik, If you have only one physical machine what is the best strategy for miminmizing the downtime and rebuild the cache directory again or start utilizing the squid without the cache directory? I assume we have to reinstall the Squid Software? Please guide The approach I proposed earlier with two Squid processes running in cooperation will make service surive automatically for as long as the system disk is working. If using just one process then making Squid stop trying to using the cache is as simple as removing the cache_dir specifications from squid.conf and start Squid again. You do not need to reinstall unless the system/os partition have been damaged. This change to squid.conf can easily be automated with a little script if you want. Regards Henrik _ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969
RE: [squid-users] Squid cache_dir failed - can squid survive?
tor 2010-03-18 klockan 16:58 + skrev GIGO .: Is it possible to run two instances/processes of squid on the same physicail machine that is one with cache and other in proxy only mode? is that what u mean ? how. Yes. See wiki. Regards Henrik
Re: [squid-users] Squid cache_dir failed - can squid survive?
fre 2010-03-12 klockan 14:28 -0800 skrev Maykeen: I want to know, if squid is able to survive if it suddenly loses access to its cache directories, for example, stop caching requests and just serving as a proxy. Is there a way to do this, instead of squid termintaing when this happens? Squid is not currently designed to handle this and will terminate. What you can do to handle this situation is to run two Squids, one just as a proxy and the other with the cache. The proxy only one uses the cache one as parent. Regards Henrik
[squid-users] Squid cache_dir failed - can squid survive?
I want to know, if squid is able to survive if it suddenly loses access to its cache directories, for example, stop caching requests and just serving as a proxy. Is there a way to do this, instead of squid termintaing when this happens? Thanks in advance. -- View this message in context: http://n4.nabble.com/Squid-cache-dir-failed-can-squid-survive-tp1591224p1591224.html Sent from the Squid - Users mailing list archive at Nabble.com.