Dear All,
I have problem with my Squid Server. When cache_dir got fullfiled, squid
dies and restarted every 30 minutes. For your information my machine
config is Core2Duo Proccessor (6600) with 4GB of RAM, 1 IDE disk for
system, 2 x 250 GB SATA disk for cache. I'm using FreeBSD 6.2.
Here's my cache_dir setting :
cache_dir diskd /c1 9000 16 64 Q1=72 Q2=64
cache_dir diskd /c2 9000 16 64 Q1=72 Q2=64
cache_dir diskd /c3 9000 16 64 Q1=72 Q2=64
cache_dir diskd /c4 9000 16 64 Q1=72 Q2=64
cache_dir diskd /c5 9000 16 64 Q1=72 Q2=64
cache_dir diskd /c6 9000 16 64 Q1=72 Q2=64
cache_dir diskd /c7 9000 16 64 Q1=72 Q2=64
cache_dir diskd /c8 9000 16 64 Q1=72 Q2=64
Each of cache divided into separate partition sized 11GB.
This machine handles about 5000 request per minutes with about 16Mbps of
total traffic.
When Squid dies, I see on "top" that system is lacked of free RAM - but
Innact memory is high. On /var/log/messages reports :
(squid): xcalloc: Unable to allocate 1 blocks of 65536 bytes!
Turning off memory_pools not helping too. I have recompile kernel with
options "MAXDSIZ=(512*1024*1024)"
options "DFLDSIZ=(128*1024*1024)"
but machine hangs after some time.
How can I solve this problem? I've looking for the answer on this
mailing list but none of it solve my problem.
Best Regards,
Yusuf N
---------------------------------
PT. Rumahweb Indonesia
http://www.rumahweb.com
---------------------------------
Received on Sun May 06 2007 - 01:35:05 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:04 MDT