LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-04-2010, 03:02 PM   #1
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Rep: Reputation: 30
Slow access to web site using squid and Internet explorer.


Slow access to web site using squid and Internet explorer.

Hello all I am trying to troubleshoot an issue I am stuck on. We have a website that is loading .htm documents extremely slow when using Internet Explorer 8 behind Squid. When we bypass the proxy and go directly out to the internet all is fast and pages load fine. But when the proxy is on documents will take sometimes up to 6 minutes to load. This issue is only apparent using Internet explorer 8. I do not see the issue when using firefox with Squid. I have tried to use the no_cache directive thinking it may have been the cache but that didn't work either. I am attaching our access.log, store.log and squid.conf. Can anyone see what is going on here? I have been stumped for a week solid.


store.log

Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF A36B60438D93991E458DE08228DEB8AB 0 -1 -1 -1 unknown -1/0 GET http://example.exmp.com/NSValidation.js
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF 17A9A4E4A51DEF4D34825040A9A79C78 0 -1 -1 -1 unknown -1/0 GET http://example.exmp.com/NSWebForms.js
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF E22614CB42B208827CD18D8027B51E24 200 1270410086 -1 -1 text/html 24383/24383 GET http://example.exmp.com/PICDetail.aspx?
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF ADDF15CC03D667D6A39014CEF9B4D7AC 404 1270409537 -1 -1 text/html 1635/1635 GET http://example.exmp.com/NSWebForms.js
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF 651D0D8763381B9F3F4EDF81A7DD2D35 404 1270409537 -1 -1 text/html 1635/1635 GET http://example.exmp.com/NSValidation.js
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF B7CEF234ADE17CDDA59C871206B5953F 0 -1 -1 -1 unknown -1/0 GET http://example.exmp.com/wdocs/librarian.js
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF 806BDF950CFB9C5F45028A475E8570F7 404 1270409537 -1 -1 text/html 1635/1635 GET http://example.exmp.com/wdocs/librarian.js
Wed Mar 31 06:10:37 2010 RELEASE 00 00000188 F3408625B208BEB08F30778CFA480D6E 200 1270409539 1249504825 -1 text/html 170909/0 HEAD http://example.exmp.com/wdocs/8900.1...03_054_006.htm
Wed Mar 31 06:10:37 2010 SWAPOUT 00 0000018E F3408625B208BEB08F30778CFA480D6E 200 1270410087 1249504825 -1 text/html 170909/0 HEAD http://example.exmp.com/wdocs/8900.1...03_054_006.htm
Wed Mar 31 06:11:38 2010 RELEASE 00 00000189 57CA163F116044F7A702084D937C73DF 200 1270409599 1239994150 -1 text/html 170461/0 HEAD http://example.exmp.com/wdocs/8900.1...03_019_005.htm
Wed Mar 31 06:11:38 2010 SWAPOUT 00 0000018F 57CA163F116044F7A702084D937C73DF 200 1270410149 1239994150 -1 text/html 170461/0 HEAD http://example.exmp.com/wdocs/8900.1...03_019_005.htm
Wed Mar 31 06:12:38 2010 RELEASE 00 0000018A 7121856257D2BD25F321B8B7A804A286 200 1270409660 1268334834 -1 text/html 97961/0 HEAD http://example.exmp.com/wdocs/8900.1...03_020_001.htm
Wed Mar 31 06:12:38 2010 SWAPOUT 00 00000190 7121856257D2BD25F321B8B7A804A286 200 1270410209 1268334834 -1 text/html 97961/0 HEAD http://example.exmp.com/wdocs/8900.1...03_020_001.htm
Wed Mar 31 06:13:39 2010 RELEASE 00 0000018B E420417DAA8FCE586A0B029E9716EE83 200 1270409722 1239986974 -1 text/html 94338/0 HEAD http://example.exmp.com/wdocs/8900.1...03_019_001.htm
Wed Mar 31 06:13:39 2010 SWAPOUT 00 00000191 E420417DAA8FCE586A0B029E9716EE83 200 1270410269 1239986974 -1 text/html 94338/0 HEAD http://example.exmp.com/wdocs/8900.1...03_019_001.htm
Wed Mar 31 06:14:40 2010 RELEASE 00 0000018C D930491EC8FAC335130396678E1E62BA 200 1270409782 1253121400 -1 text/html 36090/0 HEAD http://example.exmp.com/wdocs/8900.1...03_001_001.htm
Wed Mar 31 06:14:40 2010 SWAPOUT 00 00000192 D930491EC8FAC335130396678E1E62BA 200 1270410330 1253121400 -1 text/html 36090/0 HEAD http://example.exmp.com/wdocs/8900.1...03_001_001.htm
Wed Mar 31 06:15:41 2010 RELEASE 00 0000018D B4F1E724EB3ABA6BDD446420E71E94CA 200 1270409842 1267112790 -1 text/html 34397/0 HEAD http://example.exmp.com/wdocs/8900.1...03_028_001.htm
Wed Mar 31 06:15:41 2010 SWAPOUT 00 00000193 B4F1E724EB3ABA6BDD446420E71E94CA 200 1270410392 1267112790 -1 text/html 34397/0 HEAD http://example.exmp.com/wdocs/8900.1...03_028_001.htm

access.log

ed Mar 31 06:10:35 2010 64 192.168.2.241 TCP_MISS/000 0 GET http://example.exmp.com/NSValidation.js - DIRECT/162.58.34.7 - [Accept: */*\r\nReferer: http://example.exmp.com/PICDetail.as...cept-Language: en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] []
Wed Mar 31 06:10:35 2010 67 192.168.2.241 TCP_MISS/000 0 GET http://example.exmp.com/NSWebForms.js - DIRECT/162.58.34.7 - [Accept: */*\r\nReferer: http://example.exmp.com/PICDetail.as...cept-Language: en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] []
Wed Mar 31 06:10:35 2010 522 192.168.2.241 TCP_MISS/200 24679 GET http://example.exmp.com/PICDetail.aspx? - DIRECT/162.58.34.7 text/html [Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, */*\r\nReferer: http://example.exmp.com/PICResults.a...cept-Language: en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200 OK\r\nConnection: keep-alive\r\nDate: Sun, 04 Apr 2010 19:41:26 GMT\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nX-AspNet-Version: 2.0.50727\r\nCache-Control: private\r\nContent-Type: text/html; charset=utf-8\r\nContent-Length: 24383\r\n\r]
Wed Mar 31 06:10:35 2010 179 192.168.2.241 TCP_MISS/404 1864 GET http://example.exmp.com/NSWebForms.js - DIRECT/162.58.34.7 text/html [Accept: */*\r\nReferer: http://example.exmp.com/PICDetail.as...cept-Language: en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 404 Not Found\r\nContent-Length: 1635\r\nContent-Type: text/html\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010 19:41:26 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:10:35 2010 180 192.168.2.241 TCP_MISS/404 1864 GET http://example.exmp.com/NSValidation.js - DIRECT/162.58.34.7 text/html [Accept: */*\r\nReferer: http://example.exmp.com/PICDetail.as...cept-Language: en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 404 Not Found\r\nContent-Length: 1635\r\nContent-Type: text/html\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010 19:41:26 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:10:35 2010 5 192.168.2.241 TCP_MISS/000 0 GET http://example.exmp.com/wdocs/librarian.js - DIRECT/162.58.34.7 - [Accept: */*\r\nReferer: http://example.exmp.com/wdocs/8900.1...cept-Language: en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] []
Wed Mar 31 06:10:36 2010 109 192.168.2.241 TCP_MISS/404 1864 GET http://example.exmp.com/wdocs/librarian.js - DIRECT/162.58.34.7 text/html [Accept: */*\r\nReferer: http://example.exmp.com/wdocs/8900.1...cept-Language: en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 404 Not Found\r\nContent-Length: 1635\r\nContent-Type: text/html\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010 19:41:26 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:10:37 2010 106 192.168.2.241 TCP_CLIENT_REFRESH_MISS/200 326 HEAD http://example.exmp.com/wdocs/8900.1...03_054_006.htm - DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language: en-us\r\nReferer: http://example.exmp.com/wdocs/8900.1...cept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nHost: example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection: Keep-Alive\r\nPragma: no-cache\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200 OK\r\nContent-Length: 170909\r\nContent-Type: text/html\r\nLast-Modified: Wed, 05 Aug 2009 20:40:25 GMT\r\nAccept-Ranges: bytes\r\nETag: "9085e7f5c16ca1:1174"\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010 19:41:27 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:11:38 2010 68 192.168.2.241 TCP_CLIENT_REFRESH_MISS/200 326 HEAD http://example.exmp.com/wdocs/8900.1...03_019_005.htm - DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language: en-us\r\nReferer: http://example.exmp.com/wdocs/8900.1...cept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nHost: example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection: Keep-Alive\r\nPragma: no-cache\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200 OK\r\nContent-Length: 170461\r\nContent-Type: text/html\r\nLast-Modified: Fri, 17 Apr 2009 18:49:10 GMT\r\nAccept-Ranges: bytes\r\nETag: "05796318dbfc91:1174"\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010 19:42:29 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:12:38 2010 64 192.168.2.241 TCP_CLIENT_REFRESH_MISS/200 325 HEAD http://example.exmp.com/wdocs/8900.1...03_020_001.htm - DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language: en-us\r\nReferer: http://example.exmp.com/wdocs/8900.1...cept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nHost: example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection: Keep-Alive\r\nPragma: no-cache\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200 OK\r\nContent-Length: 97961\r\nContent-Type: text/html\r\nLast-Modified: Thu, 11 Mar 2010 19:13:54 GMT\r\nAccept-Ranges: bytes\r\nETag: "0c59cfd4ec1ca1:1174"\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010 19:43:29 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:13:39 2010 93 192.168.2.241 TCP_CLIENT_REFRESH_MISS/200 325 HEAD http://example.exmp.com/wdocs/8900.1...03_019_001.htm - DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language: en-us\r\nReferer: http://example.exmp.com/wdocs/8900.1...cept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nHost: example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection: Keep-Alive\r\nPragma: no-cache\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200 OK\r\nContent-Length: 94338\r\nContent-Type: text/html\r\nLast-Modified: Fri, 17 Apr 2009 16:49:34 GMT\r\nAccept-Ranges: bytes\r\nETag: "0a35b7c7cbfc91:1174"\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010 19:44:29 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:14:40 2010 73 192.168.2.241 TCP_CLIENT_REFRESH_MISS/200 325 HEAD http://example.exmp.com/wdocs/8900.1...03_001_001.htm - DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language: en-us\r\nReferer: http://example.exmp.com/wdocs/8900.1...cept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nHost: example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection: Keep-Alive\r\nPragma: no-cache\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200 OK\r\nContent-Length: 36090\r\nContent-Type: text/html\r\nLast-Modified: Wed, 16 Sep 2009 17:16:40 GMT\r\nAccept-Ranges: bytes\r\nETag: "08c5174f136ca1:1174"\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010 19:45:30 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:15:41 2010 74 192.168.2.241 TCP_CLIENT_REFRESH_MISS/200 325 HEAD http://example.exmp.com/wdocs/8900.1...03_028_001.htm - DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language: en-us\r\nReferer: http://example.exmp.com/wdocs/8900.1...cept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)\r\nHost: example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection: Keep-Alive\r\nPragma: no-cache\r\nCookie: ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200 OK\r\nContent-Length: 34397\r\nContent-Type: text/html\r\nLast-Modified: Thu, 25 Feb 2010 15:46:30 GMT\r\nAccept-Ranges: bytes\r\nETag: "08fa0b231b6ca1:1174"\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010 19:46:32 GMT\r\nConnection: keep-alive\r\n\r]

squid.conf

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl corpnet src 192.168.0.0/16
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow corpnet
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /var/spool/squid
log_mime_hdrs on



Thanks
 
Old 04-05-2010, 08:27 AM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Rep: Reputation: 97
Not for anything but I wonder if it has anything to do with the rendering in IE 8 maybe compatability mode might be worth a try? I wish I could give you better advice, but I can't see anything glaringly wrong in your files.
 
Old 04-05-2010, 08:39 AM   #3
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Original Poster
Rep: Reputation: 30
Response from Squid manager

Hi guys just an update, I posted on the Squid mailing list and Henrik Nordstrom responded with a theory of persistent connections, due to the high number of TCP_MISS/000 present. I added client_persistent_connections to off as he suggested and the pages loaded fine. Now to figure out why IE breaks and firefox doesn't.

Thanks for the help
 
  


Reply

Tags
squid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
this site only works only with Internet Explorer 5.5 and above action_owl General 7 12-13-2009 02:08 AM
Can't access web site hosted on Fedora 7 in internet explorer (on windows) kvvsrinivas Linux - Networking 2 08-18-2008 11:49 AM
Cannot access parts oif web site through squid ginda Linux - Server 1 04-07-2007 09:16 AM
slow internet access using squid gigi Linux - Networking 4 01-20-2004 12:59 AM
Internet Explorer 6.1 and Squid TechnoBod Linux - Software 1 12-09-2003 11:18 AM


All times are GMT -5. The time now is 12:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration