Re: [squid-users] so slow: part 3

From: Chris Wilcox <not_rich_yet@dont-contact.us>
Date: Sun, 30 Nov 2003 20:19:14 +0000

http_port 192.168.3.1:3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir ufs /hdd1/squidcache 1000 16 256
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1
acl to_localhost dst 127.0.0.0/8
acl MyLan src 192.168.3.1-192.168.3.254/255.255.255.255
acl self src 192.168.3.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 MyLan
http_access allow self
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr chris@mydomain.com
cache_effective_user squid
cache_effective_group squid
visible_hostname Squid Cache

I'd honestly suggest using the default squid.conf file that is installed
with squid and only changing the minimum amount you need to. Again, double
check permissions on the cache and log directory. Can you read the squid
logs and see if any errors are reported in them. This may be your best bet
to helping you find where the problem lies.

Hope you get this sussed!

Regards,

nry

>
>http_port 3128
>icp_port 0
>acl QUERY urlpath_regex cgi-bin \?
>no_cache deny QUERY
>cache_mem 16 MB
>cache_dir ufs /proxy 200 16 256
>redirect_rewrites_host_header off
>cache_replacement_policy GDSF
>acl localnet src 192.168.1.0/255.255.255.0
>acl localhost src 127.0.0.1/255.255.255.255
>acl Safe_ports port 80 443 210 119 70 21 1025-65535
>acl CONNECT method CONNECT
>acl all src 0.0.0.0/0.0.0.0
>http_access allow localnet
>http_access allow localhost
>http_access deny !Safe_ports
>http_access deny CONNECT
>http_access deny all
>maximum_object_size 1200 KB
>store_avg_object_size 50 kB
>cache_mgr twoj@email
>cachemgr_passwd tajne_haslo all
>cache_effective_user squid
>cache_effective_group squid
>log_icp_queries off
>buffered_logs on
>( is this ok? can anyone give me example of squid.conf how should it
>looks like ? )
>
>
>Some details:
>
>Squid is installed on PIII 700 Mhz, 256 MB RAM, HDD 20 Gb connected to
>inet on eth0 ( aDSL 512) and local net is on eth1.
>
>OS: Linux Slackware 8.1
>
>There is only 1 partition and it is formatted as ext2 ( maybe this is
>a reason ?).
>
>Plz help, I have noe idea what can i do wrong... think i checked
>everything.
>--
>Woebegone waitting for support from squid community.
>Best regards,
> mailto:mwosko@o2.pl
>

_________________________________________________________________
On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
Received on Sun Nov 30 2003 - 13:19:17 MST

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