Re: [tanya-jawab] TCP_MISS/[200/302/304] di squid
Oh, ya ??? ada masa inreyen juga ya :) kaya naik motor aja. tapi Mr. google emang pernah ngomong gitu juga sih. Ok lah, ku tunggu. sampai berapa lama inreyen nya ? dalam hitungan masa atau dalam hitungan frekwensi pemakaian dari client ? udah gak sabar. soalnya waktu mau ngebuka situs lambat banget, aku kira masalah itu tadi. Lambat bukan berarti buka situsnya pelan-pelan tapi ketika start nya yg lama banget. misal ketika diketik www.google.com kmd enter, browsernya masih diem aja kira2 5 detikan bahkan lebih baru muncul. apa setingan squid.conf ku ada yg salah kah ? atau karena kata transparent di belakang http_port, krn sekarang lagi belom maen-maen iptables, baru proxy2-an dulu. Thanx 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 sabar aja dulu kan cachenya masih baru :) -- semusim info pindah ke Google bayu - mandriva at http://bayuart.wordpress.com -- ___ 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
Re: [tanya-jawab] TCP_MISS/[200/302/304] di squid
On 3/12/07, farid [EMAIL PROTECTED] wrote: Oh, ya ??? ada masa inreyen juga ya :) kaya naik motor aja. tapi Mr. google emang pernah ngomong gitu juga sih. Ok lah, ku tunggu. sampai berapa lama inreyen nya ? dalam hitungan masa atau dalam hitungan frekwensi pemakaian dari client ? udah gak sabar. soalnya waktu mau ngebuka situs lambat banget, aku kira masalah itu tadi. Lambat bukan berarti buka situsnya pelan-pelan tapi ketika start nya yg lama banget. misal ketika diketik www.google.com kmd enter, browsernya masih diem aja kira2 5 detikan bahkan lebih baru muncul. apa setingan squid.conf ku ada yg salah kah ? atau karena kata transparent di belakang http_port, krn sekarang lagi belom maen-maen iptables, baru proxy2-an dulu. Thanx 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 sabar aja dulu kan cachenya masih baru :) -- semusim info pindah ke Google bayu - mandriva at http://bayuart.wordpress.com -- ___ 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 coba mengacu ke file squid.conf.default dulu aja :) -- 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
Re: [tanya-jawab] TCP_MISS/[200/302/304] di squid
Hmmm... bener juga ya, coba ntar aku # dulu yg meragukan. tapi utk cache_dir nya bagaimana ?, kalau angka-angka disitu aku rubah ke defaultnya, apakah isi cache1,2,3 harus dikosongin dulu (rm -rf *) ? yang artinya perintah squid -z diulang lagi. termasuk /logs/*.log dihapus juga ? atau biarkan saja begitu ? satu lagi, saya mau bandingkan test antara sebelum pakai squid dengan setelah pakai squid, pakai apa ya ? sementara mungkin yg paling penting membandingkan dari sisi performa kecepatannya, apakah bisa kalau pakai test speed yg banyak beredar di inet. Terimakasih banyak. coba mengacu ke file squid.conf.default dulu aja :) -- semusim info pindah ke Google bayu - mandriva at http://bayuart.wordpress.com -- ___ 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
Re: [tanya-jawab] TCP_MISS/[200/302/304] di squid
On 3/13/07, farid [EMAIL PROTECTED] wrote: Hmmm... bener juga ya, coba ntar aku # dulu yg meragukan. tapi utk cache_dir nya bagaimana ?, kalau angka-angka disitu aku rubah ke defaultnya, apakah isi cache1,2,3 harus dikosongin dulu (rm -rf *) ? yang artinya perintah squid -z diulang lagi. termasuk /logs/*.log dihapus juga ? atau biarkan saja begitu ? satu lagi, saya mau bandingkan test antara sebelum pakai squid dengan setelah pakai squid, pakai apa ya ? sementara mungkin yg paling penting membandingkan dari sisi performa kecepatannya, apakah bisa kalau pakai test speed yg banyak beredar di inet. Terimakasih banyak. coba mengacu ke file squid.conf.default dulu aja :) -- semusim info pindah ke Google bayu - mandriva at http://bayuart.wordpress.com -- ___ 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 cachenya dibiarkan aja test kecepatan akses ? keknya squid gak bisa buat patokan deh squid kan cuman untuk menghemat bandwidth ... emang si dari penghematan itu, ntar bisa kliatan kecepatannya bertambah :) ini bukan patokan, soalnya test b/w tergantung metode web testernya pakai apa. -- 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
[tanya-jawab] TCP_MISS/[200/302/304] di squid
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.458265 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.452871 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.344891 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:14400% 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 -
Re: [tanya-jawab] TCP_MISS/[200/302/304] di squid
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.458265 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.452871 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.344891 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:14400% 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