LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   squid 3.1 gives cache error for Google, Bing, Yahoo etc. (http://www.linuxquestions.org/questions/linux-general-1/squid-3-1-gives-cache-error-for-google-bing-yahoo-etc-4175454797/)

banajit 03-20-2013 01:51 AM

squid 3.1 gives cache error for Google, Bing, Yahoo etc.
 
Sir,

I have installed squid-3.1.10 on my centos-6.3. It was working file for the first day. But after that it shows problem while opening the mostly visited sites like Google.com, Bing.com, Yahoo.com etc. But all the rarely visited sites are coming nicely. Again after some hours it works fine for all the sites. The problem arises many 2-3 times in a day.

It gives the following error message:

The following error was encountered while trying to retrieve the URL: http://www.google.co.in/

Connection to 2404:6800:4009:803::1018 failed.

The system returned: (110) Connection timed out

The remote host or network may be down. Please try the request again.
Your cache administrator is root.

Please give me your valuable suggestions.

TB0ne 03-20-2013 10:23 AM

Quote:

Originally Posted by banajit (Post 4914952)
Sir,
I have installed squid-3.1.10 on my centos-6.3. It was working file for the first day. But after that it shows problem while opening the mostly visited sites like Google.com, Bing.com, Yahoo.com etc. But all the rarely visited sites are coming nicely. Again after some hours it works fine for all the sites. The problem arises many 2-3 times in a day.

It gives the following error message:

The following error was encountered while trying to retrieve the URL: http://www.google.co.in/
Connection to 2404:6800:4009:803::1018 failed.
The system returned: (110) Connection timed out
The remote host or network may be down. Please try the request again.
Your cache administrator is root.

Please give me your valuable suggestions.

First, there are not just "sirs" on this site. And what you're describing is due to your cache settings. You can either expire them more frequently, or you can use the always_direct directive in your squid configuration. Your choice:
http://www.squid-cache.org/Versions/...ys_direct.html


All times are GMT -5. The time now is 10:55 PM.