[squid-users] FATAL: xcalloc: Unable to allocate 1 blocks of 4112 bytes!

From: Pranav Desai <pranavadesai@dont-contact.us>
Date: Thu, 10 Aug 2006 18:07:42 -0700

Hello,

I am doing some performance testing on FC5 with squid 2.6-S2

I am getting the following error when I use cache_mem 4 GB

FATAL: xcalloc: Unable to allocate 1 blocks of 4112 bytes!
Squid Cache (Version 2.6.STABLE2): Terminated abnormally.

And it restarts after that, thereby completely killing the test.

I have 16GB of memory.

Is there a better way to ask squid to use as much memory as possible,
since I have ample of it.

Thanks

-- Pranav

/proc/meminfo
--------------------
MemTotal: 16378848 kB
MemFree: 6608296 kB
Buffers: 398928 kB
Cached: 8159824 kB
SwapCached: 0 kB

Version
-----------
Squid Cache: Version 2.6.STABLE2
configure options: '--prefix=/usr/squid' '--exec-prefix=/usr/squid'
'--sysconfdir=/usr/squid/etc' '--enable-snmp'
'--enable-err-languages=English' '--enable-linux-netfilter'
'--enable-dlmalloc' '--enable-async-io=24' '--enable-linux-tproxy'
'--enable-gnuregex' '--enable-internal-dns' '--enable-epoll'
'--with-maxfd=32768' 'CC=/usr/local/bin/gcc'
'CFLAGS=-I/usr/local/include -g'

-- Pranav

------------------------------
http://pd.dnsalias.org
Received on Thu Aug 10 2006 - 19:07:50 MDT

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