[squid-users] http access is very slow with proxy

From: Eicke <eick.jac@dont-contact.us>
Date: Wed, 5 Nov 2003 15:09:59 -0200

Hi folks,

I installed squid2 in my freebsd server. I am using ipfw to redirect
packages from my clients to squid port into my server.
I am testing with only client and the http access is very slow with proxy.
If I try to access a website with client no proxy configurated the access is
10 times fast than a proxy client access.

My squid.conf is the following:

http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir diskd /usr/local/squid/cache 400 16 256 Q1=72 Q2=64
cache_mem 384 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
minimum_object_size 128 KB
maximum_object_size_in_memory 1024 KB
redirect_children 125
redirect_rewrites_host_header on
acl all src 0.0.0.0/0.0.0.0
acl local src 192.168.5.9/255.255.255.224
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
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 local
http_access deny all
icp_access allow all
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

Could you help me?
Received on Wed Nov 05 2003 - 10:13:10 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:07 MST