Search squid archive

[squid-users] Acclerator mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Using RHEL-3.1 x86, Squid-STABLE9 + Collapsed_Forward
patch.

I am try to set up squid as a surrogate to my back end
server which has an http service running on port
44003. What I' am seeing when multiple requests for
the same URI comes in that rather than allow just one
or two of the requests to go to the backend.  So,
using a separate box, I setup multiple wgets (say 20)
to request the same URI ... each request initiates a
session to the back end. :(  

Any thoughts about what is wrong with my test or the
config or hints about what folks usually goof up when
deploying squid as in Accelerator mode.

Thanks in advance for any help/suggestions,

Ray


Here is my squid.conf file
###
###
###
http_port 32011
http_port 21100
http_port 44003
httpd_accel_host mybackendexampleserver.com
httpd_accel_port 0
httpd_accel_uses_host_header on
httpd_accel_with_proxy on

#
#
icp_port 0
cache_mem 128 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 1024 MB
#maximum_object_size_in_memory 100 MB
maximum_object_size_in_memory 8 MB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
cache_replacement_policy lru
memory_replacement_policy lru
#
#
cache_dir ufs /opt/squid/cache 16384 16 256
cache_access_log /opt/log/squid/access.log
cache_log /opt/log/squid/cache.log
mime_table /opt/squid/etc/mime.conf
pid_filename /var/run/squid.pid
######refresh_pattern . 0     20%     10080
refresh_pattern . 10     20%     10080
#
#
#redirect_rewrites_host_header off
#^^^^^^^^^^^^Tried but no differnce
#
collapsed_forwarding on
refresh_stale_hit 0 seconds

acl ALL src 0/0
#acl ProxyUsers src 192.168.10.0/24
#acl ProxyUsers src 192.168.0.0/24
acl ProxyUsers src 192.168.0.0/17
acl TheOriginServer dstdomain
mybackendexampleserver.com

http_access allow ProxyUsers
http_access allow TheOriginServer
http_access deny ALL

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
acl Safe_ports port 443 563
acl Safe_ports port 1025-65535
acl CONNECT method CONNECT
acl snmp snmp_community COMTYPASS
acl dstbackenddom dstdomain .backenddom.com
acl backend-svc dstdomain .backend-svc.com
acl dstpriv dstdomain .backendsvc-priv.com
http_access allow localhost
http_access allow manager localhost
http_access allow dstbackenddom
http_access allow dstbackend-svc 
http_access allow dstpriv
http_access allow snmp !localhost
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
cache_mgr operations@xxxxxxxxxxxxxxxxxxx
cache_effective_user squid
cache_effective_group squid
logfile_rotate 10
cachemgr_passwd PASSWD shutdown
cachemgr_passwd PASSWD info stats/objects
cachemgr_passwd disable all
icon_directory /opt/squid/share/icons
error_directory /opt/squid/share/errors/English
snmp_port 3401
snmp_access allow snmp
snmp_access deny all
uri_whitespace strip
strip_query_terms off
cache_store_log /opt/log/squid/storage.log
no_cache deny CONNECT
emulate_httpd_log on









		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux