ini loh mas ronny, mohon di evaluasi konfigurasi squid saya<2.5Stable5> di mesin server dg spec :
- MB Intel Server HG2
- Proc 2.8G Xeon 1Mb
- RAM 1 Gb
- HDD SCSI 40G + SATA 80G
dg konfigurasi squid :
http_port 3128
icp_port 3130
udp_incoming_address 0.0.0.0
udp_outgoing_address 255.255.255.255
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 512 MB
cache_swap_low 80
cache_swap_high 100
maximum_object_size 1024 KB
minimum_object_size 4 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
cache_dir diskd /cachez/cache-1 4000 10 256 Q1=64 Q2=72
cache_dir diskd /cachez/cache-2 4000 10 256 Q1=64 Q2=72
cache_dir diskd /cachez/cache-3 4000 10 256 Q1=64 Q2=72
cache_dir diskd /cachez/cache-4 4000 10 256 Q1=64 Q2=72
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
emulate_httpd_log on
pid_filename /var/run/squid.pid
mime_table /etc/squid/mime.conf
log_fqdn off
client_netmask 255.255.255.255
ftp_user
squid@domainku.web.id
ftp_list_width 32
ftp_passive on
ftp_sanitycheck on
hosts_file /etc/hosts
diskd_program /usr/lib/squid/diskd
unlinkd_program /usr/lib/squid/unlinkd
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
quick_abort_min 12 KB
quick_abort_max 12 KB
quick_abort_pct 95
negative_ttl 1 minutes
half_closed_clients off
read_timeout 5 minutes
request_timeout 1 minutes
client_lifetime 360 minutes
shutdown_lifetime 2 seconds
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 lan src 202.202.202.0/255.255.255.0
acl to_localhost dst 127.0.0.0/8
acl PURGE method PURGE
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, snews
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 CONNECT method CONNECT
acl buggy_server url_regex ^http://www.prestasi.biz
broken_posts allow buggy_server
http_access allow manager lan
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow PURGE localhost
http_access deny PURGE
http_access allow localhost
http_access allow lan
http_access deny all
http_reply_access allow all
icp_access allow lan
icp_access deny all
miss_access allow all
cache_mgr
proxyadmin@domainku.web.id
cache_effective_user squid
cache_effective_group squid
visible_hostname proxy04.domainku.web.id
unique_hostname erebus.domainku.web.id
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
logfile_rotate 1
forwarded_for off
log_icp_queries off
buffered_logs on
client_db off
strip_query_terms off
icon_directory /usr/share/squid/icons
error_directory /usr/share/squid/errors/German
snmp_port 3401
snmp_access allow localhost
snmp_access allow lan
snmp_access deny all
snmp_incoming_address 0.0.0.0
snmp_outgoing_address 255.255.255.255
wccp_router 0.0.0.0
offline_mode off
coredump_dir /var/spool/squid
ie_refresh on
dan Info dari Cachemgr.cgi <General Runtime Information> :
Cache information for squid:
Request Hit Ratios: 5min: 6.9%, 60min: 12.9%
Byte Hit Ratios: 5min: 15.8%, 60min: 20.3%
Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.6%
Request Disk Hit Ratios: 5min: 77.0%, 60min: 67.8%
Storage Swap size: 13107152 KB
Storage Mem size: 14264 KB
Mean Object Size: 15.23 KB
Requests given to unlinkd: 0
Kira-kira Konfigurasi squid ku udah mentox belom yach..<aku masih belom puas !>. Terus kenapa yach di /var/log/squid/cache.log banyak sekali log ini :
2004/09/24 21:48:12| clientReadRequest: FD 66 Invalid Request
2004/09/24 21:51:36| clientReadRequest: FD 123 Invalid Request
2004/09/24 21:53:12| clientReadRequest: FD 242 Invalid Request
2004/09/24 21:56:36| clientReadRequest: FD 34 Invalid Request
2004/09/24 21:58:12| clientReadRequest: FD 144 Invalid Request
2004/09/24 22:01:12| clientReadRequest: FD 146 Invalid Request
2004/09/24 22:03:12| clientReadRequest: FD 56 Invalid Request
2004/09/24 22:06:11| clientReadRequest: FD 161 Invalid Request
2004/09/24 22:08:12| clientReadRequest: FD 82 Invalid Request
Apakah artinya 'ADA REQUEST DARI CLIENT YG DIBLOKIR ATAU ADA REQUEST YG TIDAK BISA DILAYANI'.
Mohon penjelesan yg membuat dunia ini lebih indah lagi. Terimakasih....