[squid-users] Squid use too much memory

From: XT <xt-mail@dont-contact.us>
Date: Thu, 16 Sep 2004 10:57:25 +0400

Hi, squid-users.

My squid use too much system resources.
There is cachemgr stat:

Resource usage for squid:
UP Time:84439.657 seconds
CPU Time:4465.860 seconds
CPU Usage:5.29%
CPU Usage, 5 minute avg: >>18.46%<< SOMETIMES 20-40%
CPU Usage, 60 minute avg:19.02%
Process Data Segment Size via sbrk(): 226272 KB
Maximum Resident Size: 0 KB
Page faults with physical i/o: 22930

Memory usage for squid via mallinfo():
Total space in arena: 226272 KB
Ordinary blocks: 225777 KB 480 blks
Small blocks: 0 KB 0 blks
Holding blocks: 192 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 495 KB
Total in use: 225969 KB 100%
Total free: 495 KB 0%
Total size: >>226464<< KB

squid.conf about memory options:

cache_mem 33554432 bytes (32 ΜΑ)
maximum_object_size_in_memory 8192 bytes
memory_replacement_policy lru
memory_pools off
memory_pools_limit 5242880 bytes (5ΜΑ)

delay_pools are enabled.
Acls from file to deny porno is 22918 (maybe trouble in that?)

All system memory is 512MB
Disk cache is 2GB.

Users ~ 62 enabled on this squid but some of them are proxys
(cache_peer) so ALL end users about 600-700...
SQuid version is 2.5.STABLE6 on Linux 2.4.27

I know, squid overlimits cache_mem about in ~ 3 times, but mine
226464/32= 7!!!

Thanks for answers

PS. Excuse my english
Received on Thu Sep 16 2004 - 01:55:59 MDT

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