April 16, 2024, 04:07:50 AM

News : LinuxSolved.com Linux Help Community Forum..

Author Topic: Slow squid  (Read 3428 times)

Offline mummiez

  • New Member
  • Posts: 1
Slow squid
« on: February 22, 2009, 08:26:04 PM »
We have a squid proxy server which we had to disable caching because of hardware recourses. When opening WebPages using proxy a page that loads in 2 seconds when bypassing proxy will use up 120 second using the proxy. Every object on a page pauses for 2 seconds before it starts downloading, but when it starts the speed is normal. If we do any speed test the server transfers data around 20Mb/s, but when a page contains hundreds of objects it takes forever to load.
This made me suspect a dns lookup delay but doing a nslookup on the server is without delay, any tips where to start troubleshooting?

Here are the config
http_port 8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 64 MB
cache_dir diskd /data/squid/cache 4096 16 256
cache_access_log /data/squid/log/access.log
cache_log /data/squid/log/cache.log
cache_store_log none
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
acl all src
acl manager proto cache_object
acl localhost src
acl to_localhost dst
acl SSL_ports port 443 563
acl Safe_ports port 80          acl Safe_ports port 81          acl Safe_ports port 82          acl Safe_ports port 21          acl Safe_ports port 443 563     acl Safe_ports port 70          acl Safe_ports port 210         acl Safe_ports port 1025-65535  acl Safe_ports port 280         acl Safe_ports port 488         acl Safe_ports port 591         acl Safe_ports port 777         acl CONNECT method CONNECT
acl GET method GET
http_access allow manager localhost
http_access allow manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
acl our_networks src
http_access allow our_networks
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all

« Last Edit: February 22, 2009, 08:39:36 PM by mummiez »