Re: AW: [squid-users] Howto Clear Cache Periodicaly

From: nonama <sotongtaz@dont-contact.us>
Date: Mon, 17 Apr 2006 17:19:41 -0700 (PDT)

HI,
My select loop called average time is already about
50ms, with only 20 users. Where/How should I fine
tune?
FYI, I'm having 2 X 25GB cache_dir now with only 3%
currently filled up. I'm going to put about 400 users
more later. here is the cache mgr output. Kindly let
me know which to be monitored and any suggestion on
the baseline. Thank you so much..

Connection information for squid:
        Number of clients accessing cache: 20
        Number of HTTP requests received: 31772
        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: 22.0
        Average ICP messages per minute since start: 0.0
        Select loop called: 1480208 times, 58.636 ms avg
Cache information for squid:
        Request Hit Ratios: 5min: 0.0%, 60min: 16.7%
        Byte Hit Ratios: 5min: 4.8%, 60min: 6.9%
        Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.0%
        Request Disk Hit Ratios: 5min: 0.0%, 60min: 2.4%
        Storage Swap size: 1924632 KB
        Storage Mem size: 7020 KB
        Mean Object Size: 31.68 KB
        Requests given to unlinkd: 414
Median Service Times (seconds) 5 min 60 min:
        HTTP Requests (All): 0.61549 0.61549
        Cache Misses: 0.61549 0.72387
        Cache Hits: 0.00000 0.00307
        Near Hits: 0.00000 0.58309
        Not-Modified Replies: 0.00000 0.00194
        DNS Lookups: 0.00000 0.00000
        ICP Queries: 0.00000 0.00000
Resource usage for squid:
        UP Time: 86794.142 seconds
        CPU Time: 47.467 seconds
        CPU Usage: 0.05%
        CPU Usage, 5 minute avg: 0.01%
        CPU Usage, 60 minute avg: 0.01%
        Process Data Segment Size via sbrk(): 16552 KB
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        Total space in arena: 16552 KB
        Ordinary blocks: 16415 KB 85 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 1228 KB 2 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 136 KB
        Total in use: 17643 KB 99%
        Total free: 136 KB 1%
        Total size: 17780 KB
Memory accounted for:
        Total accounted: 12856 KB
        memPoolAlloc calls: 5633363
        memPoolFree calls: 5415605
File descriptor usage for squid:
        Maximum number of file descriptors: 1024
        Largest file desc currently in use: 21
        Number of file desc currently in use: 16
        Files queued for open: 0
        Available number of file descriptors: 1008
        Reserved number of file descriptors: 100
        Store Disk files open: 0
Internal Data Structures:
         60840 StoreEntries
          1465 StoreEntries with MemObjects
          1463 Hot Object Cache Items
         60759 on-disk objects

--- Adrian Chadd <adrian@creative.net.au> wrote:

> On Thu, Apr 13, 2006, nonama wrote:
> > Hi,
> > Thank you for your help. Can you let me know on
> other
> > setting baseline that I should look into using the
> > cache manager? i.e Select loop called" average
> time -
> > should be under
> > 20 milliseconds , in order for me to monitor my
> squid
> > performance?
>
> Thats just one indication that squid is taking too
> long doing "stuff"
> to adequately service network requests. It'll
> increase quite quickly
> under load if your running short of CPU cycles.
>
> There's other variables you want to look at. The
> request rate is a good
> place to start. What is it at?
>
>
>
> adrian
>
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Mon Apr 17 2006 - 19:19:47 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:03 MDT