On 8/10/06, Adrian Chadd <adrian@xxxxxxxxxxxxxxx> 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