Greetings!

I am running Squid 2.5 Stable 8 for RedHat Advanced Server 3

I am trying to optimize the speed / availability of the Proxy.  

I have just recently increased the number of Squid threads to 64 since clients 
were seeing error pages (which appears to be a limit as to the number 
connections available).

I have 3 of these boxes.  2 are used as traffic cops (with SmartFilter), and 
then the third is in the DMZ with connectivity to the Internet (this is the 
caching machine with no SmartFilter).

I would be interested in any recommendations:

Red Hat Enterprise Linux AS release 3 (Taroon Update 3)
KERNEL: Linux 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 EDT 2004 i686 i686 
i386 GNU/Linux

I have around 15,000+ clients.

My proxy machines are outfitted as such:

Dell DL380 [3082484 kB Memory, (2) 2.8GHZ Pentium 4 CPU, (3)  36GB 15K Disks 
for Squid Cache (320 MB/s tranfer rate) OS is on its own 36GB disk]

Squid compiled with the following options:
ulimit -HSn 8192
CFLAGS -O2 -march=i686 -funroll-loops -DNUMTHREADS=64 -DSMARTFILTER -DUNIX 
-D_REENTRANT -D_REENTRANT
CPPFLAGS -O2 -march=i686 -funroll-loops
./configure  --prefix=/opt/squid --enable-smartfilter --localstatedir=/var 
--enable-poll --enable-snmp --enable-removal-policies=heap,lru 
--enable-storeio=aufs,coss,diskd,null,ufs --enable-async-io 
--with-aufs-threads=48 --enable-delay-pools --enable-linux-netfilter 
--with-pthreads --enable-basic-auth-helpers=LDAP,NCSA,SMB,MSNT,winbind 
--enable-ntlm-auth-helpers=SMB,winbind,fakeauth 
--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group,winbind_group
 --enable-auth=basic,ntlm --enable-useragent-log --enable-referer-log 
--enable-gnuregex
My squid.conf consists of:
http_port 80
http_port 8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
ftp_user [EMAIL PROTECTED]
 hosts_file /etc/hosts
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 0.0.0.0/0.0.0.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 SSL_ports port 443 563
acl Safe_ports port 6667
acl Safe_ports port 5050
acl Safe_ports port 5190
acl CONNECT method CONNECT
 http_access allow all
http_access allow manager localhost
http_access deny manager
acl our_networks src 3.x.x.0/24 3.x.x.0/24 3.x.x.0/24
http_access allow our_networks
no_cache deny our_networks
http_access deny all
http_reply_access allow all
icp_access allow all
forwarded_for off
coredump_dir /opt/squid/var/cache
cache_effective_user squid
cache_effective_group squid
cache_mgr [EMAIL PROTECTED]
visible_hostname http-proxy.penske.com
smartfilter_state off
positive_dns_ttl 10 minute
cache_dir aufs /cache1/cachedir1 10000 16 256
cache_dir aufs /cache2/cachedir1 10000 16 256
cache_dir aufs /cache3/cachedir1 10000 16 256
 cache_dir aufs /cache1/cachedir2 7000 16 256
 cache_dir aufs /cache2/cachedir2 7000 16 256
cache_dir aufs /cache3/cachedir3 70000 16 256
cache_dir aufs /cache1/cachedir3 7000 16 256
cache_dir aufs /cache2/cachedir3 7000 16 256
cache_dir aufs /cache3/cachedir3 7000 16 256
acl snmppublic snmp_community xxx
snmp_port 3401
snmp_access allow snmppublic all
acl PURGE method PURGE
http_access allow PURGE localhost
http_access deny PURGE
cache_access_log none
cache_store_log none

-----------

Thanks!

Mitchell Lewars

Reply via email to