[squid-users] max resource usgae

From: Houssam Melhem <hmelhem@dont-contact.us>
Date: Tue, 15 Nov 2005 14:08:45 +0200

Hi,

I have 10 SCSI Hard disks each 73GB and 8GB of RAM

I configured squid to use 28 GB on each

cache_mem 512 MB
cache_dir aufs /cache1/ 28000 32 256
cache_dir aufs /cache2/ 28000 32 256
cache_dir aufs /cache3/ 28000 32 256
cache_dir aufs /cache4/ 28000 32 256
cache_dir aufs /cache5/ 28000 32 256
cache_dir aufs /cache6/ 28000 32 256
cache_dir aufs /cache7/ 28000 32 256
cache_dir aufs /cache8/ 28000 32 256
cache_dir aufs /cache9/ 28000 32 256
cache_dir aufs /cache10/ 28000 32 256

after running squid for a while top command gives the folowing

Mem: 8315908k total, 4488024k used, 3827884k free, 720496k buffers
Swap: 15631236k total, 0k used, 15631236k free, 1160248k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
17962 squid 18 0 2836m 2.3g 3664 R 97.6 28.9 4035:06 squid

When I increase ecach cache dir size squid process takes more memory
and cpu becomes more busy, this leads to a full system crash (not
immediatelly but after a while more than 5 days), I could not figure
out the real source of this crash bu it is a kernel panic and the
squid process ID is mentioned in the error messages on screen

Can I take advantage of the remaining disk space on each Hard Disk?
Do I need more RAM?

Or squid just can not handle this big amount of Resoures (HD and RAM)?
Received on Tue Nov 15 2005 - 05:08:48 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:09 MST