Search squid archive

Tweaks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anything I should tweak on Squid?  This is running as a transparent
cache strictly for http and I have complaints that at times webpages
will not come up.  See anything to cause that?  Its on CentOS 4.4 with
filedescriptors increased to 8192 per application.

http_port 7080 vport=80 vhost
cache_dir aufs /usr/local/squid/var/cache 48000 16 256

Matt

Store Directory Statistics:
Store Entries          : 2325811
Maximum Swap Size      : 49152000 KB
Current Store Swap Size: 44236844 KB
Current Capacity       : 90% used, 10% free

Store Directory #0 (aufs): /usr/local/squid/var/cache
FS Block Size 4096 Bytes
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 49152000 KB
Current Size: 44236844 KB
Percent Used: 90.00%
Current load metric: 100 / 1000
Filemap bits in use: 2325712 of 4194304 (55%)
Filesystem Space in use: 52611828/113146552 KB (46%)
Filesystem Inodes in use: 2375925/14368768 (17%)
Flags: SELECTED
Removal policy: lru
LRU reference age: 11.70 days

------------

Squid Object Cache: Version 2.6.STABLE9
Start Time: Sat, 03 Feb 2007 20:56:38 GMT
Current Time: Fri, 16 Feb 2007 22:55:52 GMT

Connection information for squid:
	Number of clients accessing cache:	311
	Number of HTTP requests received:	16698329
	Number of ICP messages received:	0
	Number of ICP messages sent:	0
	Number of queued ICP replies:	0
	Request failure ratio:	 0.00
	Average HTTP requests per minute since start:	886.4
	Average ICP messages per minute since start:	0.0
	Select loop called: 557356632 times, 2.028 ms avg
Cache information for squid:
	Request Hit Ratios:	5min: 40.3%, 60min: 43.1%
	Byte Hit Ratios:	5min: 14.7%, 60min: 17.1%
	Request Memory Hit Ratios:	5min: 0.8%, 60min: 0.9%
	Request Disk Hit Ratios:	5min: 33.2%, 60min: 29.8%
	Storage Swap size:	44236728 KB
	Storage Mem size:	8156 KB
	Mean Object Size:	19.02 KB
	Requests given to unlinkd:	0
Median Service Times (seconds)  5 min    60 min:
	HTTP Requests (All):   0.20843  0.22004
	Cache Misses:          0.33943  0.39928
	Cache Hits:            0.02317  0.02190
	Near Hits:             0.32154  0.33943
	Not-Modified Replies:  0.00379  0.00379
	DNS Lookups:           0.00779  0.09117
	ICP Queries:           0.00000  0.00000
Resource usage for squid:
	UP Time:	1130354.320 seconds
	CPU Time:	10192.967 seconds
	CPU Usage:	0.90%
	CPU Usage, 5 minute avg:	2.02%
	CPU Usage, 60 minute avg:	1.89%
	Process Data Segment Size via sbrk(): 728112 KB
	Maximum Resident Size: 0 KB
	Page faults with physical i/o: 3
Memory usage for squid via mallinfo():
	Total space in arena:  728112 KB
	Ordinary blocks:       242570 KB   5163 blks
	Small blocks:               0 KB      0 blks
	Holding blocks:          3884 KB      5 blks
	Free Small blocks:          0 KB
	Free Ordinary blocks:  485541 KB
	Total in use:          246454 KB 34%
	Total free:            485541 KB 66%
	Total size:            731996 KB
Memory accounted for:
	Total accounted:       190107 KB
	memPoolAlloc calls: 2207481656
	memPoolFree calls: 2200443923
File descriptor usage for squid:
	Maximum number of file descriptors:   8192
	Largest file desc currently in use:    813
	Number of file desc currently in use:  713
	Files queued for open:                   0
	Available number of file descriptors: 7479
	Reserved number of file descriptors:   100
	Store Disk files open:                   2
	IO loop method:                     epoll
Internal Data Structures:
	2325594 StoreEntries
	  1695 StoreEntries with MemObjects
	  1684 Hot Object Cache Items
	2325509 on-disk objects

----------------

sample_start_time = 1171662998.893920 (Fri, 16 Feb 2007 21:56:38 GMT)
sample_end_time = 1171666598.894037 (Fri, 16 Feb 2007 22:56:38 GMT)
client_http.requests = 26.950555/sec
client_http.hits = 11.578889/sec
client_http.errors = 0.000000/sec
client_http.kbytes_in = 20.865555/sec
client_http.kbytes_out = 276.670824/sec
client_http.all_median_svc_time = 0.208426 seconds
client_http.miss_median_svc_time = 0.399283 seconds
client_http.nm_median_svc_time = 0.003785 seconds
client_http.nh_median_svc_time = 0.339434 seconds
client_http.hit_median_svc_time = 0.021898 seconds
server.all.requests = 16.314166/sec
server.all.errors = 0.000000/sec
server.all.kbytes_in = 229.308326/sec
server.all.kbytes_out = 15.235833/sec
server.http.requests = 16.314166/sec
server.http.errors = 0.000000/sec
server.http.kbytes_in = 229.308326/sec
server.http.kbytes_out = 15.235833/sec
server.ftp.requests = 0.000000/sec
server.ftp.errors = 0.000000/sec
server.ftp.kbytes_in = 0.000000/sec
server.ftp.kbytes_out = 0.000000/sec
server.other.requests = 0.000000/sec
server.other.errors = 0.000000/sec
server.other.kbytes_in = 0.000000/sec
server.other.kbytes_out = 0.000000/sec
icp.pkts_sent = 0.000000/sec
icp.pkts_recv = 0.000000/sec
icp.queries_sent = 0.000000/sec
icp.replies_sent = 0.000000/sec
icp.queries_recv = 0.000000/sec
icp.replies_recv = 0.000000/sec
icp.replies_queued = 0.000000/sec
icp.query_timeouts = 0.000000/sec
icp.kbytes_sent = 0.000000/sec
icp.kbytes_recv = 0.000000/sec
icp.q_kbytes_sent = 0.000000/sec
icp.r_kbytes_sent = 0.000000/sec
icp.q_kbytes_recv = 0.000000/sec
icp.r_kbytes_recv = 0.000000/sec
icp.query_median_svc_time = 0.000000 seconds
icp.reply_median_svc_time = 0.000000 seconds
dns.median_svc_time = 0.087168 seconds
unlink.requests = 0.000000/sec
page_faults = 0.000000/sec
select_loops = 667.882201/sec
select_fds = 358.980266/sec
average_select_fd_period = 0.002786/fd
median_select_fds = 0.000000
swap.outs = 3.172500/sec
swap.ins = 16.685555/sec
swap.files_cleaned = 0.000000/sec
aborted_requests = 1.028889/sec
syscalls.polls = 667.882201/sec
syscalls.disk.opens = 15.022777/sec
syscalls.disk.closes = 30.024443/sec
syscalls.disk.reads = 22.255833/sec
syscalls.disk.writes = 29.583055/sec
syscalls.disk.seeks = 0.000000/sec
syscalls.disk.unlinks = 3.355555/sec
syscalls.sock.accepts = 20.613610/sec
syscalls.sock.sockets = 9.025000/sec
syscalls.sock.connects = 9.018889/sec
syscalls.sock.binds = 9.025000/sec
syscalls.sock.closes = 19.378333/sec
syscalls.sock.reads = 167.029995/sec
syscalls.sock.writes = 156.382773/sec
syscalls.sock.recvfroms = 3.142500/sec
syscalls.sock.sendtos = 1.576111/sec
cpu_time = 68.338610 seconds
wall_time = 3600.000117 seconds
cpu_usage = 1.898295%

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux