Hi, I am getting fairly slow times (this is more an observation than looking at the logs) when loading web pages. I am the only person on an ADSL2+ connection, with squid setup and caching (see squid.conf below). Does anyone have any ideas on how i could make it more responsive? Any other comments on the conf.file appreciated too. I will be installing SmartFilter on the server too, but have not as yet. The Server is running RHEL ES4, with 250GB SATA drive and 1GB Ram. Squid 2.5 Stable 14.
--- squid.conf ---
http_port 8080
auth_param basic program /usr/lib/squid/smb_auth -W admin -U 10.57.24.16 auth_param basic children 5 auth_param basic realm Proxy Cache auth_param basic credentialsttl 2 hours
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir aufs /usr/local/squid/var/cache 120000 16 256
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl bhs src 10.60.32.0/255.255.248.0
acl bhs_admin src 10.57.24.0/255.255.255.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 authorised_users proxy_auth REQUIRED
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 all authorised_users
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
http_access allow bhs
http_access allow bhs_admin
http_access deny all
http_reply_access allow all
icp_access allow all
cache_effective_user squid
cache_effective_group squid
any suggestions
logfile_rotate 10
coredump_dir /usr/local/squid/var/cache
--- eof ---
Thanks, I have to implement this tomorrow into a site with 400 workstations, that are also using an ADSL2+ connection.
cheers, Adam
Received on Wed Jan 31 2007 - 22:37:10 MST
This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST