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

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 09 Sep 2006 01:12:31 +0200

fre 2006-09-08 klockan 15:55 -0700 skrev Pranav Desai:

> The other thing I found is in the strace. Last brk() before it failed.
> It seems like some 24bit limit. Any ideas ?

I have only seen such limits on 32-bit systems. Never on an 64-bit
system running 64-bit software.

So triple-check that ulimit is set like you expect for the Squid
process. Remember that ulimit is per process so only because your shell
says something large does not neccesarily mean that Squid is running
under the same ulimit.

The Squid I am currently watching is now close to 4GB in size.

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20701 squid 15 0 3931m 3.8g 1532 S 4 32.4 528:02.21 squid

and still climbing (cache not full yet).

This is on a stock Ubuntu dapper x86_64 with a custom Squid-2.6.STABLE3
build (some Squid patches, none relevant to memory limits).

Regards
Henrik

Received on Fri Sep 08 2006 - 17:12:36 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT