Re: [squid-users] ISP cache statistics

From: Emilio Casbas <ecasbas@dont-contact.us>
Date: Mon, 25 Jun 2007 10:52:11 +0200

zulkarnain escribió:
> --- Emilio Casbas <ecasbas@unav.es> wrote:
>> #squidclient -p 8080 mgr:info@mgrpass
>>
>> Squid Object Cache: Version 2.6.STABLE10
>> Start Time: Tue, 19 Jun 2007 06:33:45 GMT
>> Current Time: Wed, 20 Jun 2007 14:39:52 GMT
>> Connection information for squid:
>> Number of clients accessing cache:
>> 2969
>> Number of HTTP requests received:
>> 7796055
>> 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: 4047.6
>> Average ICP messages per minute since
>> start: 0.0
>> Select loop called: 239078105 times, 0.483
>> ms avg
>> Cache information for squid:
>> Request Hit Ratios: 5min: 35.1%, 60min:
>> 39.8%
>> Byte Hit Ratios: 5min: 20.1%, 60min:
>> 13.0%
>> Request Memory Hit Ratios: 5min: 1.3%,
>> 60min: 1.9%
>> Request Disk Hit Ratios: 5min:
>> 55.4%, 60min: 51.2%
>> Storage Swap size: 147456200 KB
>> Storage Mem size: 8184 KB
>> Mean Object Size: 18.06 KB
>> Requests given to unlinkd: 0
>> Median Service Times (seconds) 5 min 60 min:
>> HTTP Requests (All): 0.04277 0.03829
>> Cache Misses: 0.12783 0.12783
>> Cache Hits: 0.00286 0.00179
>> Near Hits: 0.10281 0.07825
>> Not-Modified Replies: 0.00091 0.00000
>> DNS Lookups: 0.01852 0.02130
>> ICP Queries: 0.00000 0.00000
>> Resource usage for squid:
>> UP Time: 115566.724 seconds
>> CPU Time: 6117.060 seconds
>> CPU Usage: 5.29%
>> CPU Usage, 5 minute avg: 9.84%
>> CPU Usage, 60 minute avg: 9.11%
>> Process Data Segment Size via sbrk():
>> 820728 KB
>> Maximum Resident Size: 0 KB
>> Page faults with physical i/o: 669
>> Memory usage for squid via mallinfo():
>> Total space in arena: 820728 KB
>> Ordinary blocks: 809227 KB 1984
>> blks
>> Small blocks: 0 KB 0
>> blks
>> Holding blocks: 6108 KB 5
>> blks
>> Free Small blocks: 0 KB
>> Free Ordinary blocks: 11500 KB
>> Total in use: 815335 KB 99%
>> Total free: 11500 KB 1%
>> Total size: 826836 KB
>> Memory accounted for:
>> Total accounted: 626931 KB
>> memPoolAlloc calls: 1074538392
>> memPoolFree calls: 1049979260
>> File descriptor usage for squid:
>> Maximum number of file descriptors: 2048
>> Largest file desc currently in use: 1353
>> Number of file desc currently in use: 923
>> Files queued for open: 0
>> Available number of file descriptors: 1125
>> Reserved number of file descriptors: 100
>> Store Disk files open: 1
>> IO loop method: epoll
>> Internal Data Structures:
>> 8165175 StoreEntries
>> 1758 StoreEntries with MemObjects
>> 1661 Hot Object Cache Items
>> 8164968 on-disk objects
>>
>>
>> Thanks
>> Emilio C.
>
> Hi Emilio,
>
> What is your server specification?
>
S.O Version: Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
CPU: Intel(R) Xeon(TM) CPU 3.20GHz (SMP)
RAM Memory: 2G.

With 3 cache disks:
/dev/sdb1 69G 46G 24G 66% /usr/local/etc3/cache1
/dev/sdc1 69G 46G 24G 66% /usr/local/etc3/cache2
/dev/sdd1 69G 46G 24G 66% /usr/local/etc3/cache3

[root@proxy bin]# grep cache_dir ../etc/squid.conf
cache_dir aufs /usr/local/etc3/cache1 60000 16 256
cache_dir aufs /usr/local/etc3/cache2 60000 16 256
cache_dir aufs /usr/local/etc3/cache3 60000 16 256

Do you need more specs?

Thanks
Emilio C.
Received on Mon Jun 25 2007 - 02:52:41 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT