Re: [squid-users] Squid usage

From: <BLATS@dont-contact.us>
Date: Mon, 14 May 2001 13:19:31 +0200

I use squid 2.4stable1 on AIX 4.3.3 , 375 MHZ, 2 GB RAM , 2*18GB for
cache1 and for cache2

here some options

cache_mem 16 MB

cache_dir diskd /cache1 3500 32 256
cache_dir diskd /cache2 3500 32 256
cache_store_log none
emulate_httpd_log on
log_icp_queries off

Joe Cooper <joe@swelltech.com> on 14/05/2001 13:06:52

Please respond to Joe Cooper <joe@swelltech.com>

To: Stephane Blat/France/IBM@IBMFR
cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Squid usage

You're being overloaded at times, it would appear (service times are
quite long, particularly on hits).

You aren't telling us what we really need to know to be able to point
you in the right direction:

What OS and version?

What hardware? You're running a very highly loaded Squid--you need big
hardware.

What is your current Squid configuration? (I see you're using diskd,
but beyond that we can't see much from what you've given us.)

BLATS@fr.ibm.com wrote:

>
> Could somebody tell me if there is somethings that can improve the
> efficiency of squid
>
> What is the difference between client_http.requests and client_http.hits
>
>
> Squid Object Cache: Version 2.4.STABLE1
>
> Start Time:
> Mon, 14 May 2001 02:06:17 GMT
> Current Time:
> Mon, 14 May 2001 10:08:17 GMT
>
>
> Connection information for squid:
> Number of clients accessing cache: 3751
> Number of HTTP requests received: 1479320
> Number of ICP messages received: 1430114
> Number of ICP messages sent: 1448698
> Number of queued ICP replies: 0
> Request failure ratio: 0.0000000000000%
> HTTP requests per minute: 3069.1
> ICP messages per minute: 5972.7
> Select loop called: 2586341 times, 11.182 ms avg
> Cache information for squid:
> Request Hit Ratios: 5min: 27.9%, 60min: 26.7%
> Byte Hit Ratios: 5min: 19.3%, 60min: 17.2%
> Request Memory Hit Ratios: 5min: 1.8%, 60min: 1.9%
> Request Disk Hit Ratios: 5min: 37.8%, 60min: 41.1%
> Storage Swap size: 6445316 KB
> Storage Mem size: 16368 KB
> Mean Object Size: 13.22 KB
> Requests given to unlinkd: 4530
> Median Service Times (seconds) 5 min 60 min:
> HTTP Requests (All): 0.39928 0.39928
> Cache Misses: 0.76407 0.85130
> Cache Hits: 0.17711 0.14252
> Near Hits: 0.85130 0.85130
> Not-Modified Replies: 0.15048 0.11465
> DNS Lookups: 0.14261 0.13638
> ICP Queries: 0.00000 0.00000
> Resource usage for squid:
> UP Time: 28919.875 seconds
> CPU Time: 17488.190 seconds
> CPU Usage: 60.47%
> CPU Usage, 5 minute avg: 85.26%
> CPU Usage, 60 minute avg: 86.70%
> Maximum Resident Size: 707440 KB
> Page faults with physical i/o: 7156
> Memory usage for squid via mallinfo():
> Total space in arena: 175296 KB
> Ordinary blocks: 155890 KB 2352308 blks
> Small blocks: 0 KB 0 blks
> Holding blocks: 0 KB 0 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 1028 KB
> Total in use: 155890 KB 89%
> Total free: 1028 KB 1%
> Memory accounted for:
> Total accounted: 104467 KB
> memPoolAlloc calls: 171215030
> memPoolFree calls: 169190130
> File descriptor usage for squid:
> Maximum number of file descriptors: 32768
> Largest file desc currently in use: 1353
> Number of file desc currently in use: 1242
> Files queued for open: 0
> Available number of file descriptors: 31526
> Reserved number of file descriptors: 100
> Store Disk files open: 0
> Internal Data Structures:
> 503560 StoreEntries
> 18206 StoreEntries with MemObjects
> 2104 Hot Object Cache Items
> 487375 on-disk objects

                                   --
                      Joe Cooper <joe@swelltech.com>
                  Affordable Web Caching Proxy Appliances
                         http://www.swelltech.com
Received on Mon May 14 2001 - 05:19:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:59 MST