[SQU] memory problem on a smp linux system

From: Harald Falkenberg <[email protected]>
Date: Mon, 26 Feb 2001 15:19:51 +0100

Hi,

I have a Linux system running with 2 CPUs and 1 Gb RAM and 1 Gb swap
space. When squid tries to allocate memory more than the half of the RAM
it crashes with the following message in the cache.log file:

FATAL: xmalloc: Unable to allocate 65535 bytes!
Squid Cache (Version 2.3.STABLE4): Terminated abnormally.
CPU Usage: 2408.980 seconds = 1021.710 user + 1387.270 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 206846
Memory usage for squid via mallinfo():
        total space in arena: 565816 KB
        Ordinary blocks: 565718 KB 41 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 1600 KB 5 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 98 KB
        Total in use: 567318 KB 100%
        Total free: 98 KB 0%

Is there a restriction within Squid or a kernel parameter, which has to be
changed in my case running Squid on a double cpu system?

squid Version: Inforamtion:
squid-2.3-200101240000

OS: (uname -a)
Linux cache 2.2.17 #1 SMP Thu Nov 30 14:00:36 MET 2000 i686 unknown

Linux:
Distribution of SUSE 6.3

For any hint how to solve this problem I would be very glad.

regards and thank you in advance
        Harald

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Feb 26 2001 - 07:24:05 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:11 MST