Re: [squid-users] CPU usage

From: Michael Gale <michael.gale@dont-contact.us>
Date: Fri, 2 Apr 2004 13:47:31 -0700

Hello,

        How do you get those squid stats ?

Michael.

On Thu, 01 Apr 2004 22:10:06 +0200
Gaetano Mendola <mendola@bigfoot.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is not too much this CPU usage ?
>
> Connection information for squid:
> Number of clients accessing cache: 1241
> Number of HTTP requests received: 2993205
> 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: 5635.4
> Average ICP messages per minute since start: 0.0
> Select loop called: 6531302 times, 4.879 ms avg
> Cache information for squid:
> Request Hit Ratios: 5min: 28.2%, 60min: 29.1%
> Byte Hit Ratios: 5min: 11.2%, 60min: 10.2%
> Request Memory Hit Ratios: 5min: 3.0%, 60min: 5.4%
> Request Disk Hit Ratios: 5min: 38.7%, 60min: 43.7%
> Storage Swap size: 8318628 KB
> Storage Mem size: 71968 KB
> Mean Object Size: 13.56 KB
> Requests given to unlinkd: 0
> Median Service Times (seconds) 5 min 60 min:
> HTTP Requests (All): 0.23230 0.22004
> Cache Misses: 0.32154 0.32154
> Cache Hits: 0.01745 0.01745
> Near Hits: 0.19742 0.19742
> Not-Modified Replies: 0.00919 0.01035
> DNS Lookups: 0.00949 0.01046
> ICP Queries: 0.00000 0.00000
> Resource usage for squid:
> UP Time: 31868.831 seconds
> CPU Time: 29048.300 seconds
> CPU Usage: 91.15%
> CPU Usage, 5 minute avg: 96.54%
> CPU Usage, 60 minute avg: 96.96%
> Process Data Segment Size via sbrk(): 179690 KB
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 551
> Memory usage for squid via mallinfo():
> Total space in arena: 179690 KB
> Ordinary blocks: 161939 KB 7736 blks
> Small blocks: 0 KB 0 blks
> Holding blocks: 1964 KB 3 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 17750 KB
> Total in use: 163903 KB 90%
> Total free: 17750 KB 10%
> Total size: 181654 KB
> Memory accounted for:
> Total accounted: 140700 KB
> memPoolAlloc calls: 412578771
> memPoolFree calls: 410567803
> File descriptor usage for squid:
> Maximum number of file descriptors: 8192
> Largest file desc currently in use: 2869
> Number of file desc currently in use: 2152
> Files queued for open: 0
> Available number of file descriptors: 6040
> Reserved number of file descriptors: 100
> Store Disk files open: 73
> Internal Data Structures:
> 613938 StoreEntries
> 6254 StoreEntries with MemObjects
> 5884 Hot Object Cache Items
> 613335 on-disk objects
>
>
> # top
> ~ PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
> 26294 nobody 18 0 176M 173M 2816 R 94.6 19.6 487:04 squid
>
>
> Also in the cache.log there is nothing strange.
>
>
>
>
> Regards
> Gaetano Mendola
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFAbHcd7UpzwH2SGd4RAlFFAJwJdMuUCQmiILy5NeV2eLRN+V8C1ACfQHH7
> wP4XlcFBeFPjj6cyh1FBStc=
> =w7gz
> -----END PGP SIGNATURE-----
>
>
>
>
>

-- 
Michael Gale
Network Administrator
Utilitran Corporation
Received on Fri Apr 02 2004 - 13:46:08 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:01 MDT