[ASK] Delay menampilkan halaman web (Squid Ubuntu + Mikrotik

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
Shoekoi
Posts: 5
Joined: 12 Oct 2010, 12:27
Location: Bekasi, Indonesia
Contact:

[ASK] Delay menampilkan halaman web (Squid Ubuntu + Mikrotik

Postby Shoekoi » 26 Apr 2012, 17:26

Dear all master,

Mohon pencerahannya,
Saya baru seting squid di ubuntu 10.10 sebagai external mikrotik
proxy sejajar dengan client.
dari nat mikrotik saya nat untuk port 80 di dstnat ke port proxy.
Setingan proxy masih standar sbb :


http_port 2511 transparent
cache_mgr webmaster
forwarded_for off
visible_hostname proxy.space
#dns_hostname 8.8.8.8 202.152.5.36 202.152.0.2

cache_mem 16 MB
cache_swap_low 98
cache_swap_high 99
maximum_object_size 128 MB
maximum_object_size_in_memory 32 KB
ipcache_size 2048
ipcache_low 98
ipcache_high 99
memory_pools off
reload_into_ims on
pipeline_prefetch on
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_dir aufs /srv/cache 80000 94 256
access_log /var/log/squid/access.log
cache_store_log none
cache_log /var/log/squid/cache.log

acl all src 0.0.0.0/0.0.0.0
acl localnet src 192.168.1.0/24
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_locahost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 25
acl Safe_ports port 110
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 7071
acl Safe_ports port 2082
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT

#acl gmail dst 173.194.38.149 173.194.38.150
#acl blok-biasa url_regex -i "/etc/squid/blok-biasa.acl"
#acl blok-vip url_regex -i "/etc/squid/blok-vip.acl"
#acl vip src "/etc/squid/ip-vip.acl"
#acl ip-biasa src "/etc/squid/ip-biasa.acl"
#acl sales src 192.168.1.81
#acl sales src 192.168.1.102
#acl yahoo url_regex "/etc/squid/allow-site.acl"


#http_access allow vip !blok-vip
#http_access deny ip-biasa blok-biasa
http_access allow manager localhost
http_access allow localhost
http_access allow localnet
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all


Itu setingan proxy saya, masih standar.

Kenapa yach di client ketika buka website pasti delay (halaman kosong) sekitar 10 detik baru muncul.

Mohon pencerahannya, kira-kira salahnya dmn. terima kasih.

Noel Dejavu
User avatar
bang_andi
Posts: 398
Joined: 03 Sep 2010, 09:07
Location: Di sekitar sungai musi...
Contact:

Re: [ASK] Delay menampilkan halaman web (Squid Ubuntu + Mikr

Postby bang_andi » 01 May 2012, 15:30

coba balikin default yg dbwh ini..lalu coba di cek apa masih suka delay

cache_mem
maximum_object_size
maximum_object_size_in_memory
ipcache_size

liat di squid.conf.original-nya

bwt brp RAM squid proxy mu, brp byk host yg dilayani, topologi jaringannya gimana boss.. ?

Return to “Ubuntu Server”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest