On 3/12/07, farid <[EMAIL PROTECTED]> wrote:
di access.log squid saya selalu muncul TCP_MISS,
aku perhatiin dari awal gak ada yang TCP_HIT
ada apa ya?
kurang seting apa lagi ?

terimakasih

p.s.
berikut mess sebagian di accsss.log:

1173754908.819   5459 10.10.4.3 TCP_MISS/302 589 GET
http://www.google.com/ - DIRECT/64.233.189.104 text/html1173754914.912   6084 
10.10.4.3 TCP_MISS/200 2097 GET
http://www.google.co.id/ - DIRECT/64.233.189.104 text/html1173754915.458    265 
10.10.4.3 TCP_MISS/204 324 GET
http://www.google.co.id/gen_204? - DIRECT/64.233.189.104 text/[EMAIL PROTECTED] 
root]# tail /usr/local/squid/var/logs/access.log
1173754574.452    871 10.10.4.3 TCP_MISS/304 307 GET
http://wiki.squid-cache.org/wiki/classic/img/moin-www.png -
DI/212.97.48.7 -1173754575.344    891 10.10.4.3 TCP_MISS/200 588 GET
http://wiki.squid-cache.org/wiki/classic/img/icon-info.png -
DT/212.97.48.7 image/png1173754575.458   1797 10.10.4.3 TCP_MISS/304 307 GET
http://wiki.squid-cache.org/wiki/classic/img/attention.png -
DT/212.97.48.7 -1173754575.574   9677 10.10.4.3 TCP_MISS/200 20775 GET
http://wiki.squid-cache.org/SquidFaq/SquidLogs? -
DIRECT/21248.7 text/html
berikut squid.conf saya :

http_port 8080 transparent
http_port 3128 transparent

icp_hit_stale on
query_icmp on

dead_peer_timeout 10 seconds

hierarchy_stoplist cgi-bin ? .js .jsp .g .do .php .asp .cgi
acl QUERY urlpath_regex cgi-bin \? .js .jsp .g .do .php .asp .cgi
no_cache deny QUERY  --> ini yg bener no_cache deny QUERY atau
cache deny QUERY ?# aslinya -> cache deny QUERY

acl apache rep_header Server ^Apache
broken_vary_encoding allow apache

cache_mem 8 MB
cache_swap_low 98
cache_swap_high 99
maximum_object_size 500 MB
maximum_object_size_in_memory 256 KB

ipcache_size 16378
ipcache_low 98
ipcache_high 99

cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

cache_dir diskd /cache1 600 16 256 Q1=64 Q2=72
cache_dir diskd /cache2 600 16 256 Q1=64 Q2=72
cache_dir diskd /cache3 600 16 256 Q1=64 Q2=72

cache_access_log /usr/local/squid/var/logs/access.log
cache_log /usr/local/squid/var/logs/cache.log
cache_store_log /usr/local/squid/var/logs/store.log

mime_table /usr/local/squid/etc/mime.conf
pid_filename /usr/local/squid/var/logs/squid.pid

log_fqdn off
log_icp_queries off
buffered_logs off
emulate_httpd_log off

forwarded_for off

half_closed_clients off
cache_effective_user squid
cache_effective_group squid
logfile_rotate 0

ftp_passive on
ftp_sanitycheck on

dns_nameservers 127.0.0.1 202.134.2.5 202.134.0.155
diskd_program /usr/local/squid/libexec/diskd-daemon

refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320

refresh_pattern -i \.gif 4320 50% 129600 override-lastmod
reload-into-imsrefresh_pattern -i \.jpg 4320 50% 129600 override-lastmod
reload-into-imsrefresh_pattern -i \.tif 4320 50% 129600 override-lastmod
reload-into-imsrefresh_pattern -i \.png 4320 50% 129600 override-lastmod
reload-into-imsrefresh_pattern -i \.jpeg 4320 50% 129600 override-lastmod
reload-into-imsrefresh_pattern ^ftp: 4320 95% 129600 override-lastmod
reload-into-ims
quick_abort_min 0 KB
quick_abort_max 0 Kb
quick_abort_pct 100

pipeline_prefetch on
vary_ignore_expire on

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localnet src 10.10.0.0/16
acl localhost src 127.0.0.1/255.255.255.255
acl our_networks src 10.10.0.0/16
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # 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 purge method PURGE
acl CONNECT method CONNECT

always_direct allow localnet localhost our_networks
always_direct deny all

http_access allow manager localhost all
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
#http_access deny to_localhost
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

http_access allow purge
http_access deny purge
http_access allow localhost
http_access allow localnet
http_access allow our_networks
# And finally deny all other access to this proxy
http_access deny all

http_reply_access allow all
icp_access allow all

always_direct allow localhost
always_direct allow localnet
always_direct deny all

cache_mgr [EMAIL PROTECTED]
visible_hostname proxy.2007.com

#coredump_dir /usr/local/squid/var/cache
coredump_dir /cache1

high_memory_warning 70 MB

store_dir_select_algorithm round-robin
negative_ttl 2 minutes
buffered_logs on
ie_refresh on
nonhierarchical_direct on
prefer_direct off




___________________________________________________________
indomail - Your everyday mail - http://indomail.indo.net.id



--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis



sabar aja dulu
kan cachenya masih baru :)

--
semusim info pindah ke Google
bayu - mandriva at http://bayuart.wordpress.com

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke