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

From: Pranav Desai <pranavadesai@dont-contact.us>
Date: Fri, 11 Aug 2006 14:06:36 -0700

On 8/10/06, Adrian Chadd <adrian@creative.net.au> wrote:
> On Thu, Aug 10, 2006, Pranav Desai wrote:
> > 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.
>
> It sounds like you've hit a process limit.
>

> Try 'ulimit -a' to see whats going on.

I checked it, it looks fine.

cat /proc/sys/fs/file-nr
9210 0 32768

ulimit -a
----------
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 131072
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 32768
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 131072
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

when I run it without cache_mem (i.e. default value), it runs fine,
without crashing at the same load.

Let me know if you need any other details.

-- Pranav

>
>
>
>
> Adrian
>
>

-- 
------------------------------
http://pd.dnsalias.org
Received on Fri Aug 11 2006 - 15:06:38 MDT

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