[SQU] 2.4 PRE and high CPU usage

From: Jorge Boncompte \(DTI2\) <jorge@dont-contact.us>
Date: Fri, 26 Jan 2001 12:59:37 +0100

    I've seen a weird behavior testing 2.4 PRE. The CPU usage is too high
for the load of clients that this box has.

    Below is the info from cachemgr.cgi. Any advice is appreciated.

    Best regards.

    -Jorge

==============================================================
Jorge Boncompte - Técnico de sistemas
DTI2 - Desarrollo de la Tecnología de las Comunicaciones
--------------------------------------------------------------
C/ Abogado Enriquez Barrios, 5 14004 CORDOBA (SPAIN)
Tlf: +34 957 761395 / FAX: +34 957 450380
--------------------------------------------------------------
jorge@dti2.net _-_-_-_-_-_-_-_-_-_-_-_-_-_ http://www.dti2.net
==============================================================
Without wicker a basket cannot be done.
==============================================================

------ This is from my test box -------
Linux 2.4.0test12 without reiserfs

DUAL P2-333 + 128 MB RAM + 1 WD 7200rpm-ATA66

cache_dir diskd -1 /var/spool/squid 400 16 256 64 72

cache_mem 16MB
------------------------------------------------------------------

Squid Object Cache: Version 2.4.PRE-STABLE

Start Time:Fri, 26 Jan 2001 01:11:16 GMT
Current Time:Fri, 26 Jan 2001 11:45:39 GMT

Connection information for squid:
 Number of clients accessing cache: 11
 Number of HTTP requests received: 14621
 Number of ICP messages received: 4369
 Number of ICP messages sent: 4371
 Number of queued ICP replies: 0
 Request failure ratio: 0.00%
 HTTP requests per minute: 23.0
 ICP messages per minute: 13.8
 Select loop called: 407222410 times, 0.093 ms avg
Cache information for squid:
 Request Hit Ratios: 5min: 36.3%, 60min: 54.3%
 Byte Hit Ratios: 5min: 15.9%, 60min: 17.6%
 Request Memory Hit Ratios: 5min: 3.7%, 60min: 4.9%
 Request Disk Hit Ratios: 5min: 50.3%, 60min: 14.9%
 Storage Swap size: 366224 KB
 Storage Mem size: 11600 KB
 Mean Object Size: 10.79 KB
 Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
 HTTP Requests (All): 0.00000 0.00000
 Cache Misses: 0.94847 0.94847
 Cache Hits: 0.00000 0.00000
 Near Hits: 0.00000 0.94847
 Not-Modified Replies: 0.00000 0.00000
 DNS Lookups: 0.00000 0.00000
 ICP Queries: 0.00000 0.00000
Resource usage for squid:
 UP Time: 38062.634 seconds
 CPU Time: 9759.180 seconds
 CPU Usage: 25.64%
 CPU Usage, 5 minute avg: 42.03%
 CPU Usage, 60 minute avg: 45.15%
 Maximum Resident Size: 0 KB
 Page faults with physical i/o: 487
Memory usage for squid via mallinfo():
 Total space in arena: 22782 KB
 Ordinary blocks: 19896 KB 963 blks
 Small blocks: 0 KB 0 blks
 Holding blocks: 176 KB 1 blks
 Free Small blocks: 0 KB
 Free Ordinary blocks: 2886 KB
 Total in use: 20072 KB 88%
 Total free: 2886 KB 13%
Memory accounted for:
 Total accounted: 16248 KB
 memPoolAlloc calls: 1934473
 memPoolFree calls: 1772177
File descriptor usage for squid:
 Maximum number of file descriptors: 1024
 Largest file desc currently in use: 51
 Number of file desc currently in use: 46
 Files queued for open: 0
 Available number of file descriptors: 978
 Reserved number of file descriptors: 100
 Store Disk files open: 0
Internal Data Structures:
  34073 StoreEntries
   2525 StoreEntries with MemObjects
   2519 Hot Object Cache Items
  33948 on-disk objects

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Jan 26 2001 - 05:02:17 MST

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