Search squid archive

Cache manager analysis

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

 



What is the best place to start with in cache analysis?
Would it be cache size, memory object size, IO, etc.?
I'm looking to optimise the settings for my squid server.

Server:    about 220GB available for the cache, I'm only using 40000 MB at present as in the config below.                               
                                  system         D2812-A2
/0                                bus            D2812-A2
/0/0                              memory         110KiB BIOS
/0/4                              processor      Intel(R) Core(TM)2 Duo CPU     E7300  @ 2.66GHz
/0/4/5                            memory         64KiB L1 cache
/0/4/6                            memory         3MiB L2 cache
/0/4/0.1                          processor      Logical CPU
/0/4/0.2                          processor      Logical CPU
/0/7                              memory         3MiB L3 cache
/0/2a                             memory         1GiB System Memory
/0/2a/0                           memory         1GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns)
/0/2a/1                           memory         DIMM DDR2 Synchronous 667 MHz (1.5 ns) [empty]
/0/2a/2                           memory         DIMM DDR2 Synchronous 667 MHz (1.5 ns) [empty]
/0/2a/3                           memory         DIMM DDR2 Synchronous 667 MHz (1.5 ns) [empty]
/0/1                              processor
/0/1/0.1                          processor      Logical CPU
/0/1/0.2                          processor      Logical CPU


Current squid.conf:
---------------------
auth_param basic realm Proxy server
auth_param basic credentialsttl 2 hours
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
authenticate_cache_garbage_interval 1 hour
authenticate_ip_ttl 2 hours
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 cacheadmin src 88.xxx.xxx.xxx
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
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 Safe_ports port 1863         # MSN messenger
acl ncsa_users proxy_auth REQUIRED
acl maxuser max_user_ip -s 2
acl CONNECT method CONNECT
http_access allow manager localhost
http_access allow manager cacheadmin
http_access deny manager
http_access allow ncsa_users
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
http_access deny maxuser
http_access allow localhost
http_access deny all
icp_access allow all
http_port 8080
http_port 88.xxx.xxx.xxx:80
hierarchy_stoplist cgi-bin ?
cache_mem 100 MB
maximum_object_size_in_memory 50 KB
cache_replacement_policy heap LFUDA
cache_dir aufs /var/spool/squid 40000 16 256
maximum_object_size 50 MB
cache_swap_low 90
cache_swap_high 95
access_log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
buffered_logs on
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
quick_abort_min 0 KB
quick_abort_max 0 KB
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
half_closed_clients off
cache_mgr aaa@xxxxxxx
cachemgr_passwd aaa all
visible_hostname ProxyServer
log_icp_queries off
dns_nameservers 208.67.222.222 208.67.220.220
hosts_file /etc/hosts
memory_pools off
forwarded_for off
client_db off
coredump_dir /var/spool/squid

 		 	   		  
_________________________________________________________________
Do you have a story that started on Hotmail? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/

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

  Powered by Linux