Search squid archive

RE: Memory keeps on decreasing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----Original Message-----
From: Zabrina Mohamad 
Sent: Monday, April 17, 2006 2:30 PM
To: 'Henrik Nordstrom'
Subject: RE:  Memory keeps on decreasing


Hi Henrik, 
Since we have 2GB of memory, so thinking it will be a waste, that;s why we put the cache_mem to 512MB. Do you see any implication to this?
By the way, with the 2 X 25GB cache dir and 512 for cache_mem  , is it correct to say that memory reserved for squid alone is already 1GB? Please correct if it's a wrong assumption. and if you don't you mind, could you please explain on how should I read the cache mgr output below.  My concern is on the memory and cache. Which value should I monitor the most, and what are the threshold that I should be aware of, before any problem arise.

Thank you so much for your help.

Cache information for squid:
	Request Hit Ratios:	5min: 48.2%, 60min: 37.0%
	Byte Hit Ratios:	5min: 20.6%, 60min: 3.6%
	Request Memory Hit Ratios:	5min: 46.3%, 60min: 7.9%
	Request Disk Hit Ratios:	5min: 50.4%, 60min: 21.3%
	Storage Swap size:	1747992 KB
	Storage Mem size:	4904 KB
	Mean Object Size:	29.06 KB
Memory usage for squid via mallinfo():
	Total space in arena:   14004 KB
	Ordinary blocks:        13732 KB    242 blks
	Small blocks:               0 KB      0 blks
	Holding blocks:          1228 KB      2 blks
	Free Small blocks:          0 KB
	Free Ordinary blocks:     271 KB
	Total in use:           14960 KB 98%
	Total free:               271 KB 2%
	Total size:             15232 KB
Memory accounted for:
	Total accounted:        10330 KB
	memPoolAlloc calls: 3322760
	memPoolFree calls: 3116790

***************************************************************************************
The total output of cache manager:
Connection information for squid:
	Number of clients accessing cache:	18
	Number of HTTP requests received:	17120
	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:	45.5
	Average ICP messages per minute since start:	0.0
	Select loop called: 922342 times, 24.480 ms avg
Cache information for squid:
	Request Hit Ratios:	5min: 48.2%, 60min: 37.0%
	Byte Hit Ratios:	5min: 20.6%, 60min: 3.6%
	Request Memory Hit Ratios:	5min: 46.3%, 60min: 7.9%
	Request Disk Hit Ratios:	5min: 50.4%, 60min: 21.3%
	Storage Swap size:	1747992 KB
	Storage Mem size:	4904 KB
	Mean Object Size:	29.06 KB
	Requests given to unlinkd:	296
Median Service Times (seconds)  5 min    60 min:
	HTTP Requests (All):   0.25890  1.24267
	Cache Misses:          8.22659  4.54239
	Cache Hits:            0.00379  0.00463
	Near Hits:             7.79421  4.30363
	Not-Modified Replies:  0.00000  0.00091
	DNS Lookups:           0.00000  0.00000
	ICP Queries:           0.00000  0.00000
Resource usage for squid:
	UP Time:	22579.102 seconds
	CPU Time:	30.487 seconds
	CPU Usage:	0.14%
	CPU Usage, 5 minute avg:	0.08%
	CPU Usage, 60 minute avg:	0.16%
	Process Data Segment Size via sbrk(): 14004 KB
	Maximum Resident Size: 0 KB
	Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
	Total space in arena:   14004 KB
	Ordinary blocks:        13732 KB    242 blks
	Small blocks:               0 KB      0 blks
	Holding blocks:          1228 KB      2 blks
	Free Small blocks:          0 KB
	Free Ordinary blocks:     271 KB
	Total in use:           14960 KB 98%
	Total free:               271 KB 2%
	Total size:             15232 KB
Memory accounted for:
	Total accounted:        10330 KB
	memPoolAlloc calls: 3322760
	memPoolFree calls: 3116790
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:   18
	Files queued for open:                   0
	Available number of file descriptors: 1006
	Reserved number of file descriptors:   100
	Store Disk files open:                   0
Internal Data Structures:
	 60218 StoreEntries
	  1051 StoreEntries with MemObjects
	  1049 Hot Object Cache Items
	 60159 on-disk objects

Disclaimer Note. 

 

This e-mail and any files transmitted with it is confidential and intended solely for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, or the person responsible for delivering the e-mail, be advised that you have received this e-mail and any files transmitted with it in error and that any use, dissemination, forwarding, printing or copying of this e-mail and any files transmitted with it is strictly prohibited. If you have received this e-mail and any files transmitted with it in error, please advise the sender immediately by reply e-mail and delete this message. 

 

Thank you for your co-operation.

 




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux