[squid-users] FATAL: xmalloc: Unable to allocate 65535 bytes!

From: Magali Bernard <Magali.Bernard@dont-contact.us>
Date: Mon, 13 Mar 2006 14:33:37 +0100

Hello squid-users,

My squid box has 4GB memory, and I can see (with MRTG) that no more than
1,6 GB are occupied.
Today I thought it would be nice to give some more place to cache_mem,
so I have increased it from 100 to 400MB.
A few hours later squid had died (and restarted, thanks squid) twice with
the message "FATAL: xmalloc: Unable to allocate 65535 bytes!"

According to the FAQ it could be a system size limit, but I can't see it:
$ ulimit -aH
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 7168
virtual memory (kbytes, -v) unlimited

> ~squid/sbin/squid -v
Squid Cache: Version 2.5.STABLE12-20060109
configure options: --prefix=/usr/local/squid-2.5.STABLE12-20060109
--enable-dlmalloc --enable-storeio=diskd,ufs,aufs,null --enable-snmp
--with-large-files --disable-hostname-checks --enable-underscores
--enable-basic-auth-helpers=LDAP --with-maxfd=8192

OS: Linux Debian Woody

Can you help, thank you.

-- 
_________________________________________________________________
Magali BERNARD - CRITeR - Université Jean Monnet de Saint-Etienne
23 rue du Dr Paul Michelon - 42023 St-Etienne Cedex 2 - FRANCE
Tel: 04.77.48.50.62
-- 
______________________________________________________________________
Magali BERNARD - Centre de Ressources Informatiques Télécom et Réseaux
Université Jean Monnet de Saint-Étienne - FRANCE
A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting annoying in email?
Received on Mon Mar 13 2006 - 06:33:44 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST