help check my squid.conf hit nya lemah

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
Th4r3n
Posts: 11
Joined: 04 Jun 2010, 16:24

help check my squid.conf hit nya lemah

Postby Th4r3n » 25 Jun 2010, 17:32

tolong master semua baru instal n jalan 20 jam hit nya lemah

berikut squid.conf saya :

acl all src all
acl localhost src 127.0.0.1/32
acl LAN src 192.168.0.0/255.255.0.0 # ip client sesuaikan
http_access allow LAN
server_http11 on
http_access deny all
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 3128 # squid
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
http_port 3128 transparent
hierarchy_stoplist cgi-bin ?
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_mem 64 MB
maximum_object_size_in_memory 64 KB
access_log /var/log/squid/access.log
visible_hostname NOVALNET_by_eyditharen
store_avg_object_size 13 KB
store_objects_per_bucket 20
cache_dir aufs /cache 8400 122 256
coredump_dir /var/spool/squid
#tcp_outgoing_tos 0x30 localnet
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136
via on
client_db on
netdb_filename /var/log/squid/netdb.state
cache_access_log /dev/null
cache_log /dev/null
#cache_log /var/log/squid/cache.log
cache_store_log /dev/null
pid_filename /var/run/squid.pid
logfile_rotate 1
reload_into_ims on
max_filedesc 4096 pipeline_prefetch on
offline_mode off
cache_mgr eyditharen@yahoo.co.id
cachemgr_passwd 842736
cache_effective_user proxy
cache_effective_group proxy

# REFRESH-PATTERN #
# pictures & images
refresh_pattern -i \.(gif|png|jpeg|jpg|bmp|tif|tiff|ico)$ 10080 50% 43200 reload-into-ims override-lastmod override-expire ignore-private ignore-private
refresh_pattern -i \.(xml|html|htm|js|txt|css|php)$ 10080 50% 43200 reload-into-ims override-lastmod override-expire ignore-private
#sound, video multimedia
refresh_pattern -i \.(flv|x-flv|mov|avi|qt|mpg|mpeg|swf)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache
refresh_pattern -i \.(wav|mp3|mp4|au|mid)$ 10080 50% 43200 reload-into-ims override-lastmod override-expire ignore-private ignore-private
# files
refresh_pattern -i \.(iso|deb|rpm|zip|tar|tgz|ram|rar|bin|ppt|doc)$ 10080 90% 43200 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern -i \.(zip|gz|arj|lha|lzh)$ 10080 100% 43200 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern -i \.(rar|tgz|tar|exe|bin)$ 10080 100% 43200 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern -i \.(hqx|pdf|rtf|doc|swf)$ 10080 100% 43200 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern -i \.(inc|cab|ad|txt|dll)$ 10080 100% 43200 reload-into-ims override-lastmod override-expire ignore-private
# -- refresh pattern for specific sites -- #
refresh_pattern ^http://*.jobstreet.com.*/.* 720 100% 10080 override-expire override-lastmod ignore-no-cache
refresh_pattern ^http://*.indowebster.com.*/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.21cineplex.*/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.atmajaya.*/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.kompas.*/.* 720 100% 10080
refresh_pattern ^http://*.theinquirer.*/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.blogspot.com/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.wordpress.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache
refresh_pattern ^http://*.photobucket.com/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.tinypic.com/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.imageshack.us/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.kaskus.*/.* 720 100% 28800 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://www.kaskus.com/.* 720 100% 28800
refresh_pattern ^http://*.detik.*/.* 720 50% 2880
refresh_pattern ^http://*.detiknews.*/*.* 720 50% 2880
refresh_pattern ^http://video.liputan6.com/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://static.liputan6.com/.* 720 100% 10080
refresh_pattern ^http://*.friendster.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.facebook.com/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://apps.facebook.com/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.fbcdn.net/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://profile.ak.fbcdn.net/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://static.playfish.com/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://cooking.game.playfish.com/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern -i http://[^a-z\.]*onemanga\.com/? 720 80% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://media?.onemanga.com/.* 720 80% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.yahoo.com/.* 720 80% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.google.com/.* 720 80% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^http://*.forummikrotik.com/.* 720 50% 10080
refresh_pattern ^http://*.linux.or.id/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern -i http://*.pornhub.com/.* 720 100% 10080 reload-into-ims override-lastmod override-expire ignore-private
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320


ncoming TCP-requests by status
status request % sec/req Byte % kB/sec

HIT 1090 16.96 0.28 11523944 4.48 37.38
TCP_MEM_HIT 665 10.35 0.00 7532245 2.93 22494.52
TCP_REFRESH_HIT 372 5.79 0.81 905261 0.35 2.94
TCP_NEGATIVE_HIT 26 0.40 0.00 27535 0.01 10342.17
TCP_HIT 25 0.39 0.02 3058174 1.19 7319.85
TCP_IMS_HIT 2 0.03 0.00 729 0.00 3559.57
MISS 5334 82.99 8.02 239727K 95.51 5.61
TCP_MISS 5315 82.70 8.04 239684K 95.50 5.61
TCP_REFRESH_MISS 19 0.30 1.35 44815 0.02 1.70
ERROR 3 0.05 0.00 4695 0.00 15283.20
TCP_DENIED 3 0.05 0.00 4695 0.00 15283.20

Sum 6427 100.00 6.70 250986K 100.00 5.83
User avatar
waqpaw
Posts: 69
Joined: 19 May 2010, 13:55
Contact:

Re: help check my squid.conf hit nya lemah

Postby waqpaw » 25 Jun 2010, 18:54

pake jaringan kantor kah soudari th4r3n?
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: help check my squid.conf hit nya lemah

Postby zitux » 25 Jun 2010, 19:04

klo hit nya lemah hubungan dgn apa ya ??
fungsi hit untuk apa ya ?
cara naikin hit nya gimana ya ?
:grin: tq
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: help check my squid.conf hit nya lemah

Postby zitux » 25 Jun 2010, 19:06

User avatar
Th4r3n
Posts: 11
Joined: 04 Jun 2010, 16:24

Re: help check my squid.conf hit nya lemah

Postby Th4r3n » 25 Jun 2010, 22:11

pake jaringan speedy buat warnet sendiri mas, check tkp ah ...
User avatar
Rh354
Posts: 718
Joined: 14 Mar 2010, 19:56
Location: between the truth and the lies
Contact:

Re: help check my squid.conf hit nya lemah

Postby Rh354 » 26 Jun 2010, 06:26

squid br jalan 20 jam..cachenya ulang dari nol ato gimana...cek squid hit lemah biasanya tunggu seminggu br ambil kesimpulan...refresh pattern buat domain khusus jgn ditaro dibawah refresh pattern yg umum...ntar ga' ngefek...squid membaca squid.conf dari atas ke bawah :grin:

cache_dir ga' salah tuh

cache_dir aufs /cache 8400 122 256

dasarnya apa y :grin:

klo berdasarkan rumus cache dir sich mestinya begini :blush:

cache_dir aufs /cache 8400 20 256

tp ga' tau jg sich cos masih nubi :blush:
User avatar
Rh354
Posts: 718
Joined: 14 Mar 2010, 19:56
Location: between the truth and the lies
Contact:

Re: help check my squid.conf hit nya lemah

Postby Rh354 » 26 Jun 2010, 06:35

[quote=zitux]klo hit nya lemah hubungan dgn apa ya ??
fungsi hit untuk apa ya ?
cara naikin hit nya gimana ya ?
:grin: tq
hit = hemat Bandwith + kenceng

naikin hit diakalin dengan mainin refresh pattern...