Search squid archive

Re: xcalloc Problem

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

 



I'm using FreeBSD 6.2-RELEASE with PAE kernel since my RAM is not detected in full 4GB if using GENERIC. The only thing on my sysctl.conf is kern.ipc.nmbclusters=32768

I see some changes on default sysctl (optimized by default - CMIIW), so I think it's not necessary to change sysctl parameter. For additional information, on login.conf by default FreeBSD 6.2 have all parameter unlimited - so does squid user.

rmkml wrote:
Hi Yusuf,
what version of fbsd62 you use ?
i386 or x64 ?
do you have recompiled kernel ?
same pb if you use GENERIC kernel ?
do you have tuned parameter via sysctl ?
Regards
Rmkml


On Sun, 6 May 2007, Yusuf Nurrachman wrote:

Date: Sun, 06 May 2007 14:35:03 +0700
From: Yusuf Nurrachman <yusuf@xxxxxxxxx>
To: squid-users@xxxxxxxxxxxxxxx
Subject:  xcalloc Problem

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
---------------------------------



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

  Powered by Linux