HIT ?
barusan cek …
[root@speedy box]# squidclient mgr:info |grep hit
Memory hits as % of hit requests: 5min: 0.0%, 60min: 0.0%
Disk hits as % of hit requests: 5min: 0.0%, 60min: 100.0%
[root@speedy box]#
pa bener nih ?
swerr gak ngedit, langsung paste aja… disk HIT 100% ??
Lainnya
- SquidClient : Performa Squid Proxy
- obat nyamuk
- besok memulai
- squid : assertion failed:
- Soal DNS (telkomspeedy)
- ClearOS Enterprise
- contoh squid.conf
- Squid : Masih Mencari
- SQUID : User Agents
- Squid : Akhirnya Downgrade
[root@speedy box]# squidclient mgr:info |grep hit
Memory hits as % of hit requests: 5min: 5.0%, 60min: 7.0%
Disk hits as % of hit requests: 5min: 68.0%, 60min: 66.0%
[root@speedy box]#
Memory hits as % of hit requests: 5min: 10.0%, 60min: 9.6%
Disk hits as % of hit requests: 5min: 86.4%, 60min: 74.9%
[root@speedy pelanggan]#
bayu´s last blog ..http://bayu.blitar.org
tukar menukar info :
box@hotspot# squidclient mgr:info |grep Hit
Request Hit Ratios: 5min: 5.5%, 60min: 8.8%
Byte Hit Ratios: 5min: 14.8%, 60min: 21.7%
Request Memory Hit Ratios: 5min: 0.0%, 60min: 9.2%
Request Disk Hit Ratios: 5min: 100.0%, 60min: 79.2%
Cache Hits: 0.03427 0.01955
Near Hits: 0.00000 1.24267
bayu :
eh pake squid 2.6 kebawah yo ?
hihihi kliatan pake grep Hit, bukan grep hit...
aq pake cache 20Gb
sayang lo kalo cache cuman 2Gb aja...
apalagi kalo client suka donlod...
eh fa... ni password speedy sik tak bawa, kapan bok ambil ?
ak pake 2.7stable3
hu um mas B, nie uda tak tambahin 15GB
pwd ne speedy nitip sik ya mas, mben ae pisan pas msg sing jatinom pwd ne tak gwane kbeh. ntik tak kbri lg. thx ms
squid 2.7 sik ada bug assertion failed lo…
mugo2 enggak lah
Request Hit Ratios: 5min: 33.1%, 60min: 29.0%
Byte Hit Ratios: 5min: 10.3%, 60min: -2.9%
Request Memory Hit Ratios: 5min: 11.1%, 60min: 10.9%
Request Disk Hit Ratios: 5min: 67.5%, 60min: 64.8%
Cache Hits: 0.00767 0.00562
Near Hits: 0.44492 0.44492
[root@speedy box]#
root@squidbox-desktop:~# squidclient mgr:info |grep Hit
Request Hit Ratios: 5min: 0.0%, 60min: 0.1%
Byte Hit Ratios: 5min: 0.1%, 60min: -19.0%
Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.0%
Request Disk Hit Ratios: 5min: 0.0%, 60min: 100.0%
Cache Hits: 0.00000 0.00000
Near Hits: 0.00000 0.00000
cache_swap_low 98
cache_swap_high 99
max_filedesc 8192
maximum_object_size 128 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 32 bytes
ipcache_size 2048
ipcache_low 98
ipcache_high 99
##fqdncache_size 4096
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
emulate_httpd_log on
######################################################
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 98
range_offset_limit 0 KB
connect_timeout 5 second
peer_connect_timeout 5 seconds
read_timeout 40 second
request_timeout 20 second
half_closed_clients off
#####################################################
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
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 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
###################youtube_store######################
acl store_rewrite_list urlpath_regex \/(get_video\?|videodownload\?|videoplayback.*id) \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv)\? \/ads\?
acl store_rewrite_list_web url_regex ^http:\/\/([A-Za-z-]+[0-9]+)*\.[A-Za-z]*\.[A-Za-z]*
acl store_rewrite_list_path urlpath_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv)$
acl store_rewrite_list_web_CDN url_regex ^http:\/\/[a-z]+[0-9]\.google\.com doubleclick\.net
acl QUERY2 urlpath_regex get_video\? videoplayback\? \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv)\?
###————————————————###
storeurl_access allow store_rewrite_list
storeurl_access allow store_rewrite_list_web_CDN
storeurl_access allow store_rewrite_list_web store_rewrite_list_path
storeurl_rewrite_program /etc/squid/cacheyoutube2.pl
storeurl_rewrite_children 1
storeurl_rewrite_concurrency 10
storeurl_access deny all
###————————————————###
refresh_pattern ^http://(.*?)/get_video\? 10080 90% 999999 override-expire ignore-no-cache ignore-private
refresh_pattern ^http://(.*?)/videoplayback\? 10080 90% 999999 override-expire ignore-no-cache ignore-private
refresh_pattern -i (get_video\?|videoplayback\?id|videoplayback.*id) 161280 50000% 525948 override-expire ignore-reload
###————–and for pictures——————###
refresh_pattern -i \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv)(\?|$) 161280 3000%525948 override-expire reload-into-ims
######################################################
icp_access allow localnet
icp_access deny all
http_port 3128 transparent
#acl QUERY urlpath_regex cgi-bin \?
#cache deny QUERY
######################################################
cache_dir diskd /var/spool/squid/cachez/cache-1 4000 10 256 Q1=72 Q2=64
cache_dir diskd /var/spool/squid/cachez/cache-2 4000 10 256 Q1=72 Q2=64
cache_dir diskd /var/spool/squid/cachez/cache-3 4000 10 256 Q1=72 Q2=64
cache_dir diskd /var/spool/squid/cachez/cache-4 4000 10 256 Q1=72 Q2=64
access_log /var/log/squid/access.log squid
######################################################
refresh_pattern -i .gif$ 1440 500% 262800
refresh_pattern -i .jpg$ 1440 700% 262800
refresh_pattern -i .htm$ 20 40% 40320
refresh_pattern -i .html$ 20 40% 40320
refresh_pattern /$ 15 25% 20160
refresh_pattern -i .exe$ 2880 1000% 262800
refresh_pattern -i .zip$ 2880 1000% 262800
refresh_pattern -i .mpg$ 2880 1000% 262800
refresh_pattern -i .mov$ 2880 1000% 262800
refresh_pattern -i .pdf$ 2880 1000% 262800
refresh_pattern -i .avi$ 2880 1000% 262800
refresh_pattern -i .swf$ 2880 1000% 262800
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|mpg|swf|flv|x-flv)$ 43200 90% 432000 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|pdf|ppt|doc|tiff)$ 10080 90% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.index.(html|htm|php|asp|aspx)$ 0 40% 10080
refresh_pattern -i \.(html|htm|css|js) 1440 40% 40320
refresh_pattern ^ftp: 10080 95% 241920
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
refresh_pattern . 180 95% 120960
######################################################
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
acl Syderbit src 192.168.10.1-192.168.10.254
acl Wireles-Client src 192.168.11.1-192.168.11.254
acl Warnet-1 src 192.168.12.1-192.168.12.254
acl Warnet-2 src 192.168.13.1-192.168.13.254
cache deny all store_rewrite_list_web_CDN QUERY2
######################################################
acl download url_regex -i \.rm$ \.mpg$ \.mpeg$ \.avi$ \.dat$ \.exe$ \.vqf$ \.tar.gz$ \.gz$ \.rpm$
acl download url_regex -i \.zip$ \.bz2$ \.rar$ \.qt$ \.ram$ \.rm$ \.iso$ \.raw$\.wav$ \.mov$ \.cab$
acl download url_regex -i \.rhz$ \.dat$ \.hlp$ \.psf$ \.exe$ \.bin$ \.cab$ \.amr$ \.msi$ \.dll$
delay_pools 1
delay_class 1 3
delay_parameters 1 64000/64000 15000/20000 32000/32000
delay_access 1 allow Wireles-Client download
######################################################
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow Syderbit
http_access allow Warnet-1
http_access allow Wireles-Client
http_access allow Warnet-2
http_access deny all
######################################################
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
cache_effective_user proxy
icp_port 3130
hosts_file /etc/hosts
coredump_dir /var/spool/squid
cache_effective_group proxy
shutdown_lifetime 10 second
reload_into_ims on
pipeline_prefetch on
vary_ignore_expire on
#######################################################
tcp_outgoing_tos 0×30 localnet
zph_mode tos
zph_local 0×30
zph_parent 0
zph_option 136
######################################################
store_avg_object_size 13 KB
store_objects_per_bucket 10
######################################################
cache_mgr Syderbit@yahoo.co.id
visible_hostname Syderbit@yahoo.co.id
unique_hostname Syderbit@yahoo.co.id
######################################################
http_reply_access allow all
icp_query_timeout 100
maximum_icp_query_timeout 150
logfile_rotate 2
memory_pools off
pipeline_prefetch on
log_icp_queries off
icp_hit_stale on
vary_ignore_expire on
log_fqdn off
—————————————————————————————————————–
weh mas duowo pool! hehehhe
di bagian ini
#acl QUERY urlpath_regex cgi-bin \?
#cache deny QUERY
biasanya kalo di comment emang gitu mas…
hasil hit nya,