Install FreeBSD 7.2 + Compile kernel + SQUID 3.x / squid-3.HEAD [ Troubleshooting ]
September 5, 2009 at 12:22 pm | In FreeBSD | Leave a CommentTags: cachemgr.cgi, compile, compile kernel, conf, config, FreeBSD, hight performance, kernel, kompile, kompile kernel, lightsquid, squid, squid 3, squid 3.0, squid conf, squid config, squid HEAD, squid hight performance, squid-3.HEAD, squid3, suid.config
Trouble yang ku temukan saat ngoprek squid-3.HEAD
-1
2009/09/05 19:49:50| assertion failed: store_swapin.cc:47: “e->mem_status == NOT_IN_MEMORY”
2009/09/05 19:49:53| Starting Squid Cache version 3.HEAD-20090904 for i386-unknown-freebsd7.2…
2009/09/05 19:49:53| Process ID 1872
2009/09/05 19:49:53| With 11072 file descriptors available
2009/09/05 19:49:53| Initializing IP Cache…
2009/09/05 19:49:53| DNS Socket created at 0.0.0.0, FD 6
2009/09/05 19:49:53| Adding domain goldennetbiaro.com from /etc/resolv.conf
2009/09/05 19:49:53| Adding nameserver 90.90.90.1 from /etc/resolv.conf
2009/09/05 19:49:54| Unlinkd pipe opened on FD 11
2009/09/05 19:49:54| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/09/05 19:49:54| Store logging disabled
2009/09/05 19:49:54| Swap maxSize 10240000 + 65536 KB, estimated 792733 objects
2009/09/05 19:49:54| Target number of buckets: 39636
2009/09/05 19:49:54| Using 65536 Store buckets
2009/09/05 19:49:54| Max Mem size: 65536 KB
2009/09/05 19:49:54| Max Swap size: 10240000 KB
2009/09/05 19:49:54| Version 1 of swap file with LFS support detected…
2009/09/05 19:49:54| Rebuilding storage in /cache (DIRTY)
2009/09/05 19:49:54| Using Least Load store dir selection
2009/09/05 19:49:54| Set Current Directory to /cache
2009/09/05 19:49:54| Loaded Icons.
2009/09/05 19:49:54| Accepting intercepted HTTP connections at 0.0.0.0:8080, FD 14.
2009/09/05 19:49:54| HTCP Disabled.
2009/09/05 19:49:54| IcmpSquid.cc(253) Open: Pinger socket opened on FD 16
2009/09/05 19:49:54| Squid modules loaded: 0
2009/09/05 19:49:54| pinger: Initialising ICMP pinger …
2009/09/05 19:49:54| Ready to serve requests.
2009/09/05 19:49:54| cc(82) Open: icmp_sock: (1) Operation not permitted
2009/09/05 19:49:54| pinger: Unable to start ICMP pinger.
2009/09/05 19:49:54| Store rebuilding is 48.23% complete
2009/09/05 19:49:54| FATAL: pinger: Unable to open any ICMP sockets.
2009/09/05 19:49:54| Done reading /cache swaplog (8492 entries)
2009/09/05 19:49:54| Finished rebuilding storage from disk.
2009/09/05 19:49:54| 8050 Entries scanned
2009/09/05 19:49:54| 0 Invalid entries.
2009/09/05 19:49:54| 0 With invalid flags.
2009/09/05 19:49:54| 7608 Objects loaded.
2009/09/05 19:49:54| 0 Objects expired.
2009/09/05 19:49:54| 442 Objects cancelled.
2009/09/05 19:49:54| 0 Duplicate URLs purged.
2009/09/05 19:49:54| 0 Swapfile clashes avoided.
2009/09/05 19:49:54| Took 0.08 seconds (92368.21 objects/sec).
2009/09/05 19:49:54| Beginning Validation Procedure
2009/09/05 19:49:54| Completed Validation Procedure
2009/09/05 19:49:54| Validated 15241 Entries
2009/09/05 19:49:54| store_swap_size = 63710
2009/09/05 19:49:54| IcmpSquid.cc(154) Recv: recv: (61) Connection refused
2009/09/05 19:49:54| IcmpSquid.cc(281) Close: Closing Pinger socket on FD 16
2009/09/05 19:49:55| storeLateRelease: released 0 objects
-2
2009/09/05 21:31:01| Starting Squid Cache version 3.HEAD-20090904 for i386-unknown-freebsd7.2…
2009/09/05 21:31:01| Process ID 2483
2009/09/05 21:31:01| With 11072 file descriptors available
2009/09/05 21:31:01| Initializing IP Cache…
2009/09/05 21:31:01| DNS Socket created at 0.0.0.0, FD 6
2009/09/05 21:31:01| Adding domain goldennetbiaro.com from /etc/resolv.conf
2009/09/05 21:31:01| Adding nameserver 90.90.90.1 from /etc/resolv.conf
2009/09/05 21:31:01| Unlinkd pipe opened on FD 11
2009/09/05 21:31:01| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/09/05 21:31:01| Store logging disabled
2009/09/05 21:31:01| Swap maxSize 10240000 + 524288 KB, estimated 828022 objects
2009/09/05 21:31:01| Target number of buckets: 41401
2009/09/05 21:31:01| Using 65536 Store buckets
2009/09/05 21:31:01| Max Mem size: 524288 KB
2009/09/05 21:31:01| Max Swap size: 10240000 KB
2009/09/05 21:31:01| Version 1 of swap file with LFS support detected…
2009/09/05 21:31:01| Rebuilding storage in /cache (CLEAN)
2009/09/05 21:31:01| Using Least Load store dir selection
2009/09/05 21:31:01| Current Directory is /root
2009/09/05 21:31:01| Loaded Icons.
2009/09/05 21:31:01| Accepting intercepted HTTP connections at 0.0.0.0:8080, FD 14.
2009/09/05 21:31:01| Accepting ICP messages at 0.0.0.0:3130, FD 15.
2009/09/05 21:31:01| HTCP Disabled.
2009/09/05 21:31:01| IcmpSquid.cc(253) Open: Pinger socket opened on FD 17
2009/09/05 21:31:01| Squid modules loaded: 0
2009/09/05 21:31:01| pinger: Initialising ICMP pinger …
2009/09/05 21:31:01| Ready to serve requests.
2009/09/05 21:31:01| cc(82) Open: icmp_sock: (1) Operation not permitted
2009/09/05 21:31:02| pinger: Unable to start ICMP pinger.
2009/09/05 21:31:02| Store rebuilding is 34.67% complete
2009/09/05 21:31:02| FATAL: pinger: Unable to open any ICMP sockets.
2009/09/05 21:31:02| Done reading /cache swaplog (11814 entries)
2009/09/05 21:31:02| Finished rebuilding storage from disk.
2009/09/05 21:31:02| 11814 Entries scanned
2009/09/05 21:31:02| 0 Invalid entries.
2009/09/05 21:31:02| 0 With invalid flags.
2009/09/05 21:31:02| 11814 Objects loaded.
2009/09/05 21:31:02| 0 Objects expired.
2009/09/05 21:31:02| 0 Objects cancelled.
2009/09/05 21:31:02| 0 Duplicate URLs purged.
2009/09/05 21:31:02| 0 Swapfile clashes avoided.
2009/09/05 21:31:02| Took 0.11 seconds (112182.01 objects/sec).
2009/09/05 21:31:02| Beginning Validation Procedure
2009/09/05 21:31:02| Completed Validation Procedure
2009/09/05 21:31:02| Validated 23653 Entries
2009/09/05 21:31:02| store_swap_size = 106628
2009/09/05 21:31:02| storeLateRelease: released 0 objects
2009/09/05 21:31:05| IcmpSquid.cc(154) Recv: recv: (61) Connection refused
2009/09/05 21:31:05| IcmpSquid.cc(281) Close: Closing Pinger socket on FD 17
2009/09/05 21:32:39| CacheManager: @127.0.0.1 requesting ‘info’
-3
Conf sekarang :
#
# WELCOME TO SQUID 3.HEAD-20090903
# —————————-
# ACCESS CONTROLS
# —————————————————————————–
#acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl localnet src 192.168.10.0/27
acl SSL_ports port 443 563 # https,snews
acl Safe_ports port 448
acl Safe_ports port 80 # http
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
acl Safe_ports port 5000-5200 # yahoomessenger
acl Safe_ports port 6666-6669 # mirc
acl Safe_ports port 563 # snews
acl Safe_ports port 808
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl Safe_ports port 631 # CUPS
acl BADPORTS port 7 9 11 19 22 23 25 110 119 513 514 445 213 137 138 32768
acl VIRUS urlpath_regex winnt/system32/cmd.exe?
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny VIRUS
http_access deny BADPORTS
http_access allow localnet
http_access allow localhost
http_access deny all
miss_access allow all
icp_access allow all
icp_access allow localhost
icp_access allow localnet
icp_access deny all
# NETWORK OPTIONS
# —————————————————————————–
http_port 8080 transparent
# SSL OPTIONS
# —————————————————————————–
ssl_unclean_shutdown off
# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
# —————————————————————————–
hierarchy_stoplist cgi-bin ? .js .jsp .g .do .php .asp .cgi localhost
# MEMORY CACHE OPTIONS
# —————————————————————————–
cache_mem 16 MB
maximum_object_size_in_memory 32 KB
memory_replacement_policy heap GDSF
# DISK CACHE OPTIONS
# —————————————————————————–
cache_replacement_policy heap LFUDA
cache_dir aufs /cache 10000 10 256
store_dir_select_algorithm least-load
maximum_object_size 128 MB
cache_swap_low 90
cache_swap_high 95
# LOGFILE OPTIONS
# —————————————————————————–
access_log /var/log/squid/logs/access.log
mime_table /usr/local/squid/etc/mime.conf
#pid_filename /dev/null
pid_filename /var/log/squid/logs/squid.pid
log_fqdn off
# OPTIONS FOR TROUBLESHOOTING
# —————————————————————————–
cache_log /var/log/squid/logs/cache.log
coredump_dir /cache
# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
# —————————————————————————–
unlinkd_program /usr/local/squid/libexec/unlinkd
pinger_program /usr/local/squid/libexec/pinger
# OPTIONS FOR URL REWRITING
# —————————————————————————–
# OPTIONS FOR TUNING THE CACHE
# —————————————————————————–
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
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 98
# HTTP OPTIONS
# —————————————————————————–
ie_refresh on
vary_ignore_expire off
# TIMEOUTS
# —————————————————————————–
shutdown_lifetime 10 seconds
# ADMINISTRATIVE PARAMETERS
# —————————————————————————–
cache_mgr webmaster@goldennetbiaro.com-(0752-xxxxxx)
cache_effective_user squid
cache_effective_group squid
# ICP OPTIONS
# —————————————————————————–
icp_port 3130
log_icp_queries off
icp_hit_stale off
query_icmp on
# DNS OPTIONS
# —————————————————————————–
ipcache_size 8192
ipcache_low 90
ipcache_high 95
fqdncache_size 8192
# MISCELLANEOUS
# —————————————————————————–
memory_pools off
reload_into_ims on
pipeline_prefetch on
-4
cachemgr terbaik nya, lalu drop
Squid Object Cache: Version 3.HEAD-20090904
Start Time: Sun, 06 Sep 2009 03:38:43 GMT
Current Time: Sun, 06 Sep 2009 04:01:15 GMT
Connection information for squid:
Number of clients accessing cache: 13
Number of HTTP requests received: 4369
Number of ICP messages received: 0
Number of ICP messages sent: 0
Number of queued ICP replies: 0
Number of HTCP messages received: 0
Number of HTCP messages sent: 0
Request failure ratio: 0.00
Average HTTP requests per minute since start: 194.0
Average ICP messages per minute since start: 0.0
Select loop called: 145365 times, 9.297 ms avg
Cache information for squid:
Hits as % of all requests: 5min: 14.5%, 60min: 16.6%
Hits as % of bytes sent: 5min: 3.0%, 60min: 4.7%
Memory hits as % of hit requests: 5min: 49.6%, 60min: 26.7%
Disk hits as % of hit requests: 5min: 35.3%, 60min: 53.7%
Storage Swap size: 420890 KB
Storage Swap capacity: 4.1% used, 95.9% free
Storage Mem size: 13340 KB
Storage Mem capacity: 5.1% used, 94.9% free
Mean Object Size: 10.70 KB
Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 1.00114 0.68577
Cache Misses: 1.17732 0.76407
Cache Hits: 0.00000 0.00091
Near Hits: 0.80651 0.80651
Not-Modified Replies: 0.00000 0.00000
DNS Lookups: 0.04433 0.26619
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 1351.481 seconds
CPU Time: 20.314 seconds
CPU Usage: 1.50%
CPU Usage, 5 minute avg: 2.66%
CPU Usage, 60 minute avg: 1.48%
Process Data Segment Size via sbrk(): 0 KB
Maximum Resident Size: 36036 KB
Page faults with physical i/o: 0
Memory accounted for:
Total accounted: 23807 KB
memPoolAlloc calls: 1375393
memPoolFree calls: 1219763
File descriptor usage for squid:
Maximum number of file descriptors: 11072
Largest file desc currently in use: 244
Number of file desc currently in use: 137
Files queued for open: 0
Available number of file descriptors: 10935
Reserved number of file descriptors: 100
Store Disk files open: 13
Internal Data Structures:
39378 StoreEntries
2197 StoreEntries with MemObjects
2180 Hot Object Cache Items
39335 on-disk objects
Lom ada
Belum Ada Tanggapan »
RSS umpan untuk komentar-komentar dalam tulisan ini. URI Lacak Balik
Tinggalkan komentar
Blog pada WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

