access log di Squid buffernya lambat

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
phadjart
Posts: 32
Joined: 31 Mar 2012, 21:16
Location: Kota Salatiga
Contact:

access log di Squid buffernya lambat

Postby phadjart » 24 Dec 2012, 12:10

kenapa ya buffer access log di Squidnya lambat. tetapi internetnya cepet. ada yang salah dengan squid.conf nya?

Squid Cache: Version LUSCA_FMI
tail-f /var/log/squid/access.log

Tampilkan
http_port 3128 transparent
cache_mem 8 MB
server_http11 on
icp_port 0

pid_filename /var/run/squid.pid
coredump_dir /var/spool/squid/
error_directory /usr/share/squid/errors/English
icon_directory /usr/share/squid/icons
mime_table /usr/share/squid/mime.conf

maximum_object_size_in_memory 32 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
maximum_object_size 1024 MB
dns_nameservers 127.0.0.1
cache_swap_low 98%
cache_swap_high 99%
cache_dir aufs /cache 50000 64 256
access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_log /dev/null
cache_store_log /dev/null
redirect_rewrites_host_header off
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 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
acl dynamic urlpath_regex cgi-bin \?
acl all src 0.0.0.0/0
acl network src 192.168.1.0/24
acl network src 10.10.10.0/24
http_access allow manager
http_access allow localhost
http_access allow network
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
http_gzip on
http_gzip_types text/plain,text/html,text/xml,text/css,application/xml,application/xhtml+xml,application/rss+xml,application/javascript,application/x-javascript

snmp_port 3401
acl snmppublic snmp_community public
snmp_access allow snmppublic all

include /etc/squid/acl.conf

acl RW url_regex \/speedtest\/.*\.(jpg|txt|php).*
url_rewrite_access allow RW
url_rewrite_program /etc/squid/rewriter.pl
url_rewrite_children 7
url_rewrite_concurrency 10
redirector_bypass on

fqdncache_size 4096
ipcache_low 98
ipcache_high 99
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 95
shutdown_lifetime 10 seconds
memory_pools off
buffered_logs off
log_icp_queries off
logfile_rotate 1
log_fqdn off
forwarded_for off
icp_hit_stale on
query_icmp on
reload_into_ims on
emulate_httpd_log off
negative_ttl 2 minutes
pipeline_prefetch on
vary_ignore_expire on
half_closed_clients off
high_page_fault_warning 2
nonhierarchical_direct on
prefer_direct off
cache_mgr phadjart@yahoo.com
cache_effective_user proxy
cache_effective_group proxy
visible_hostname SpeedProxy
unique_hostname Ciyus-Proxy
cachemgr_passwd none all
client_db on
max_filedescriptors 8192
n_aiops_threads 24
load_check_stopen on
load_check_stcreate on
download_fastest_client_speed on

# TAG: ZPH
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136


mohon dikoreksi mas.
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: access log di Squid buffernya lambat

Postby q_p » 24 Dec 2012, 14:40

Buffer access.log ? Buffer itu penyangga (artinya, kalau tinggi otomatis diturunkan dan kalau rendah otomatis dinaikkan, pada nilai kisaran tertentu), untuk maksud apa access.log disangga, sehingga stabil pada kisaran tertentu?
User avatar
phadjart
Posts: 32
Joined: 31 Mar 2012, 21:16
Location: Kota Salatiga
Contact:

Re: access log di Squid buffernya lambat

Postby phadjart » 24 Dec 2012, 15:58

enggak gini lo bang, jalan membacanya itu enggak seperti waktu dulu. ini kan habis saya ganti squid.conf nya.
dulu jalannya membaca itu cepet bang. sekarang lambat, apa yang disimpen itu sedikit?

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 3 guests