Kenapa setiap beberapa hari, browser di client selalu error
untuk koneksi http?

Di cek di server /var/log/messages tidak ada pesan error.
Namun yang jelas lampu harddisk menyala terus menerus. Kalo
udah begini, maka client tidak akan bisa browsing dan
satu-satunya cara agar bisa browsing adalah dengan merestart
kompie proxy, untuk koneksi laennya seperti ftp dan irc
tetap mau jalan.

Kemungkinan pertama ada di squid.conf, khususnya tentang
rotasi log. Namun setelah bagian itu di comment (dimatiin)
kondisi di atas masih terjadi. Kira-kira penyebab laennya
apaan yach?
Apa karena memori yang kurang?

Spek Kompie:
Pentium 667 MHz
SDRAM 196
MoBo Soyo
Harddisk IDE Quantum 10 GB
ATX

Supaya lebih jelas, ini aku sertakan contoh file squid.conf
yang dipake.

--start of squid.conf--

http_port 3128
icp_port 0
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 65 MB (1/3 dari SDRAM)
cache_swap_low 90
cache_swap_high 95
debug_options ALL,1
maximum_object_size 4096 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
redirect_rewrites_host_header off
cache_dir ufs /cache 2000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
emulate_httpd_log on
pid_filename /var/run/squid.pid
client_netmask 255.255.255.255
dns_nameservers 192.168.1.1
redirect_children 10
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
reference_age 2 week
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
negative_ttl 5 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 5 minutes
connect_timeout 120 seconds
peer_connect_timeout 30 seconds
read_timeout 15 minutes
request_timeout 30 seconds
client_lifetime 1 day
half_closed_clients on
pconn_timeout 120 seconds
shutdown_lifetime 30 seconds
acl blockedsites url_regex "/etc/squid/block.txt"
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl warnet src 192.168.1.1-192.168.1.7/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 21 70 80 98 210 443 563 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
http_access deny blockedsites
http_access allow manager localhost
http_access allow manager
http_access allow warnet
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
icp_access allow all
miss_access allow all
cache_effective_user squid
cache_effective_group squid
visible_hostname proxy.gateway.warnet.net
announce_period 1 day
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
#logfile_rotate 10
query_icmp off
buffered_logs off

--end of file squid.conf--

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to