[FUG-BR] SQUID despeja memória e não usa o especificado

William David FUG-BR fugbr em biosystems.ath.cx
Sexta Agosto 18 16:14:14 BRT 2006


somente para exemplificar uma coisa. sei que o servidor não é nada
comparado com o seu mas não tenho problemas com ele

1 servidor modesto  ibm netfinity 3000 PIII 550  256RAM  1 hd scsi ->
OS  2 hd´s scsi 7200 9gb  em gstripe  (  RAID 0 ) -> cache_dir

##### squid.conf #####
maximum_object_size 50 MB
cache_mem 200 MB
store_avg_object_size 130 KB

cache_swap_low 95
cache_swap_high 99

cache_dir diskd /usr/local/squid/cache/a 7300 16 256 Q1=72 Q2=64
cache_dir diskd /usr/local/squid/cache/b 7300 16 256 Q1=72 Q2=64
cache_dir diskd /usr/local/squid/safe    2000  8 128 Q1=64 Q2=72

icp_hit_stale on  # necessary for squid cluster.

cache_swap_log /usr/local/squid/logs/swap_log
cache_access_log  /usr/local/squid/logs/access.log
cache_store_log none
buffered_logs on
coredump_dir /tmp
########

########
Squid Object Cache: Version 2.5.STABLE14
Start Time:	Fri, 18 Aug 2006 03:03:08 GMT
Current Time:	Fri, 18 Aug 2006 19:00:01 GMT
Connection information for squid:
	Number of clients accessing cache:	40
	Number of HTTP requests received:	221452
	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:	122.4
	Average ICP messages per minute since start:	0.0
	Select loop called: 3099064 times, 18.526 ms avg
Cache information for squid:
	Request Hit Ratios:	5min: 66.5%, 60min: 77.0%
	Byte Hit Ratios:	5min: 59.4%, 60min: 60.3%
	Request Memory Hit Ratios:	5min: 50.0%, 60min: 42.5%
	Request Disk Hit Ratios:	5min: 35.0%, 60min: 15.7%
	Storage Swap size:	4954712 KB
	Storage Mem size:	110928 KB
	Mean Object Size:	14.83 KB
	Requests given to unlinkd:	0
Median Service Times (seconds)  5 min    60 min:
	HTTP Requests (All):   1.38447  0.17711
	Cache Misses:          1.62803  1.11539
	Cache Hits:            0.00000  0.03241
	Near Hits:             0.00000  0.13498
	Not-Modified Replies:  0.00000  0.01387
	DNS Lookups:           0.20377  0.06083
	ICP Queries:           0.00000  0.00000
Resource usage for squid:
	UP Time:	57412.135 seconds
	CPU Time:	312.137 seconds
	CPU Usage:	0.54%
	CPU Usage, 5 minute avg:	0.39%
	CPU Usage, 60 minute avg:	0.44%
	Process Data Segment Size via sbrk(): 65952 KB
	Maximum Resident Size: 166992 KB
	Page faults with physical i/o: 1
Memory accounted for:
	Total accounted:        35638 KB
	memPoolAlloc calls: 4335740
	memPoolFree calls: 3617045
File descriptor usage for squid:
	Maximum number of file descriptors:   7360
	Largest file desc currently in use:     34
	Number of file desc currently in use:   30
	Files queued for open:                   0
	Available number of file descriptors: 7330
	Reserved number of file descriptors:   100
	Store Disk files open:                   0
Internal Data Structures:
	334149 StoreEntries
	  2153 StoreEntries with MemObjects
	  2151 Hot Object Cache Items
	334036 on-disk objects

Store Directory Statistics:
Store Entries          : 334149
Maximum Swap Size      : 16998400 KB
Current Store Swap Size:  4954712 KB
Current Capacity       : 29% used, 71% free

#############
kurohitsugi# mount
/dev/da0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/da0s1e on /tmp (ufs, local, soft-updates)
/dev/da0s1f on /usr (ufs, local, soft-updates)
/dev/da0s1d on /var (ufs, local, soft-updates)
devfs on /var/named/dev (devfs, local)
/dev/stripe/cachea on /usr/local/squid/cache (ufs, asynchronous,
local, noatime, noexec, nosuid)




-- 
-=-=-=-=-=-=-=-=-=-
William David Armstrong          <----.    Of course it runs
Bio Systems Security Networking <----|==========================
MSN / GT  biosystems em gmail.com  <----'   OpenBSD or FreeBSD
--------------------------------------


Mais detalhes sobre a lista de discussão freebsd