Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Certain websites not opening - might be squid problem

Posted on 2010-11-17
7
Medium Priority
?
1,775 Views
Last Modified: 2012-05-10
Hi

Since monday we have a problem at one of our three campuses where certina websites are extremely slow to open and others wont open at all (time - outs).

The only common denominator in these sites I can see is that they all require logins yet other sites like gmail(or any google login sites) , twitter, forums and expert exhange have no problem.

some of the sites that wont open:
www.facebook.com (marketing purposes ...really)
http://students.autodesk.com
http://autodesk.starttest.com


We are running a clarkconnect server (ClearOS - Centos) with a squid proxy non transparent.
All three campuses have the same setup and the other two are working fine.

Thank you

0
Comment
Question by:QuintusSmit
  • 4
  • 3
7 Comments
 
LVL 12

Expert Comment

by:Kent W
ID: 34161705
The login may just be a coincidence.  This sure sounds like an MTU based problem to me.
What MTU is this node using, and what is the actual connection type?
0
 
LVL 1

Author Comment

by:QuintusSmit
ID: 34161857
The connection is a dsl line (1024mb line). How do I check the MTU size?
0
 
LVL 12

Accepted Solution

by:
Kent W earned 1000 total points
ID: 34162627
Ahhh...as is the most likely culprits. :)  Happens a lot on DSL.
Check your router, it will probably auto-negotiate MTU to something like 1490 (most Broadband / Lan use 1500).
The problem is, your client computers are using 1500 by default, so you will need to download a program like
DRTCP (free), and match the MTU on your router on the NIC, lan or wireless interface, of your client computers.
It's annoying, but quite common on DSL lines.  Just google DRTCP, it will be available at dslreports.com.
Run the exe, select the NIC(s) you need to change, select the MAXMTU window and change 1500 to match your router...if you can't find that value, try 1490.  Save, reboot, and wham, all the sudden pages start loading.
99.9% sure this will fix your problem.  If 1490 doesn't work, or work well, lower it by 10s down to a max of about 1460.  If your MTU doesn't become happy, it's something else.
But I bet my first wife's alimony this will fix you up.  
0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
LVL 1

Author Comment

by:QuintusSmit
ID: 34186067
@mugojava: so i was wondering..should i give you my bank details for those alimony payments or would you prefer to send cheques? :)

At the moment that solution is not working however, I would still like to test it more extensively on some other pc's - I have been very busy but will keep you updated.
0
 
LVL 12

Expert Comment

by:Kent W
ID: 34193077
Really?  That surprises me, when the old "DSL" +"some pages slow or not loading" issue comes up, especially if some sites are just fine, with no rhyme or reason, I have yet to NOT have it be an MTU issue. Make sure you have the actual adapter you are connecting to the net with (Ie, don't select the LAN nic if you connect to the router with a wireless adapter, and vice-verca) when setting the MTU value.
On a hilarious note, one of the sites that usually had problems with askewed MTU was "marthastewart.com" :O)  Now that's funny, I don't care who ya are!"
0
 
LVL 1

Author Comment

by:QuintusSmit
ID: 34226359
@mugojava

Thank you for your help and input. I'm going to award you the points for that. The problem it turns out was something with the squid proxy. Don't really have an answer but as soon as we narrowed it down to that we reinstalled squid and everything was fine.
0
 
LVL 12

Expert Comment

by:Kent W
ID: 34227853
Well, I do appreciate that, and if this helps, I've also had a similar problem with Squid on DSL...you probably looked already on this, but just in case, check out Path MTU Discovery (PMTUD) and things it can hose.  Other culprits... ECN and TCP Window Scaling can also cause Squid to hang during certain conditions.
Sure hope that helps some way. :)
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month12 days, 1 hour left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question