RE: [squid-users] squid-2.5.STABLE10 error (FATAL: xcalloc: Unable to allocate 1 blocks of 4108 bytes!)

From: <lokesh.khanna@dont-contact.us>
Date: Tue, 23 Aug 2005 08:28:07 +0100

How much Total memory you have in your server??

-----Original Message-----
From: kellywang [mailto:squid-wk@163.com]
Sent: Tuesday, August 23, 2005 4:31 AM
To: squid-users
Subject: [squid-users] squid-2.5.STABLE10 error (FATAL: xcalloc: Unable
to allocate 1 blocks of 4108 bytes!)

squid-users,??!

        Hello,everyone,
I upgraded from 2.5.STABLE.4 to 2.5.STABLE.10 last week.
Squid work on accellrator mode.
I found the error in cache.log:
FATAL: xcalloc: Unable to allocate 1 blocks of 4108 bytes!

Squid Cache (Version 2.5.STABLE10): Terminated abnormally.
CPU Usage: 378.450 seconds = 216.560 user + 161.890 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 380
Memory usage for squid via mallinfo():
        total space in arena: 915181 KB
        Ordinary blocks: 915162 KB 578 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 6276 KB 1 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 19 KB
        Total in use: 921438 KB 101%
        Total free: 19 KB 0%
2005/08/22 07:14:27| storeDirWriteCleanLogs: Starting...
2005/08/22 07:14:30| Starting Squid Cache version 2.5.STABLE10 for
i686-pc-linux-gnu...

I found the following message in /var/log/message Meanwhile:
Aug 22 17:34:07 darkstar out of memory [26980]
Aug 22 17:34:07 darkstar squid[23549]: Squid Parent: child process 26980
exited with status 1
Aug 22 17:34:10 darkstar squid[23549]: Squid Parent: child process 27457
started

The following is my Configuration:
chown -R squid:squid /squidcache
mount -t tmpfs -o size=3072M /dev/shm /squidcache
cache_dir aufs /squidcache/cache 2048 64 256

cache_mem 900 M
cache_swap_high 85
cache_swap_low 80

Please help me.

        ?
?!
                                 

        kellywang
        squid-wk@163.com
          2005-08-23
Disclaimer
****************************************************************************************************************************
The information contained in this e-mail, any attached files, and response threads are confidential and
may be legally privileged. It is intended solely for the use of individual(s) or entity to which it is addressed
and others authorised to receive it. If you are not the intended recipient, kindly notify the sender by return
mail and delete this message and any attachment(s) immediately.
 
Save as expressly permitted by the author, any disclosure, copying, distribution or taking action in reliance
on the contents of the information contained in this e-mail is strictly prohibited and may be unlawful.
 
Unless otherwise clearly stated, and related to the official business of Accelon Nigeria Limited, opinions,
conclusions, and views expressed in this message are solely personal to the author.
 
Accelon Nigeria Limited accepts no liability whatsoever for any loss, be it direct, indirect or consequential,
arising from information made available in this e-mail and actions resulting there from.
 
For more information about Accelon Nigeria Limited, please see our website at
http://www.accelonafrica.com
******************************************************************************************************************************
Received on Tue Aug 23 2005 - 01:26:57 MDT

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