RE: [squid-users] using squid only for delay_pools

From: Linux Query <linux_query@dont-contact.us>
Date: Tue, 21 Sep 2004 03:19:14 -0700 (PDT)

Thanks! But I do have the no_cache deny all directive
in my squid.conf However I am looking for the most
optimum configuration with minimum overheads for a
delay_pool only setup since squid seems to slow down a
bit and often has to be restarted. Should I have the
directives like ----always_direct allow all---
----log_icp_query off--- ...? Do I need the
httpd_accel directives at all ?

The following is my configuration file. Please suggest
ommission, addition required so that squid will
perform at its best in a no_cache , delay_pool only
mode

http_port 172.16.1.1:3128
icp_port 3130

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

acl all src 0.0.0.0/0.0.0.0
no_cache deny all

cache_mem 64 MB
cache_dir ufs /cache/ 200 16 256
#dns_nameservers x.x.x.x x.x.x.x x.x.x.x x.x.x.x
cache_mgr admin@x.com
cachemgr_passwd xxxxxx all
cache_effective_user squid
cache_effective_group squid

maximum_object_size_in_memory 1 KB #not sure if
this is ok

memory_pools off #so that squid does not hold on
to chunk of data for potential future use

quick_abort_min 0 KB # not sure if ok
quick_abort_max 0 KB #not sure if ok

visible_hostname server.x.com

ftp_user x@x.com
ftp_passive on

acl manager proto cache_object
acl allow_manager_from src 172.16.1.12/255.255.255.255
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
acl Safe_ports port 21 #ftp
acl Safe_ports port 443 562 #https, news
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 777 #multiling http
acl CONNECT method CONNECT

no_cache deny all

http_access allow manager
http_access deny manager all
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

acl download url_regex -i ftp .exe .mp3 .mpeg .ram
.wav .mpg .tar .bmp .gz .pdf .zip

acl localnet url_regex 192.168. 172.16.

acl mynet src 172.16.1.7-172.16.1.11 172.16.1.24
172.16.1.30-172.16.1.33 172.16.1.41-172.16.1.45
172.16.8.10-172.16.8.37

acl nine2nineuser src 172.16.1.25
acl nine2nine time 9:02-21:04

http_access allow nine2nineuser nine2nine
#http_access allow download
http_access allow mynet

http_access deny all

http_reply_access allow all

#icp_access allow download
icp_access allow mynet
icp_access deny all

delay_pools 3
delay_class 1 2
delay_class 2 2
delay_class 3 2
delay_parameters 1 -1/-1 -1/-1
delay_parameters 2 4000/4000 800/800
delay_parameters 3 -1/-1 1600/30000
delay_access 1 allow localnet
delay_access 2 allow download
delay_access 3 allow mynet

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_uses_host_header on
httpd_accel_with_proxy on

tcp_outgoing_address x.x.x.x ## I am using satellite
downlink - ip address of satellite isp here

Regards,
Jim.

--- Elsen Marc <elsen@imec.be> wrote:

>
> > Hi Everybody!
> >
> > I just joined this list. I am quite new to linux
> and
> > networking. I am
> > using squid only for the delay_pool feature to
> limit
> > bandwidth of client PCs depending on keywords such
> as
> > .exe .mp3 ...etc. My LInux router is celeron -
> 733
> > with 256 MB RAM. I shall be grateful if you can
> send
> > me your suggestions for optimum configuration
> settings
> > required in squid.conf for running squid in
> no_cache
> > mode and ONLY and ONLY for the delay_pool
> feature.
> >
>
>
> http://www.squid-cache.org/Doc/FAQ/FAQ-4.html#ss4.20
>
> M.
>

        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
Received on Tue Sep 21 2004 - 04:19:40 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:02 MDT