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

From: Magali Bernard <Magali.Bernard@dont-contact.us>
Date: Mon, 13 Mar 2006 15:14:58 +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
> >
> >
>
> http://www.squid-cache.org/Doc/FAQ/FAQ-8.html#ss8.7
>
> M.
>
This is indeed the FAQ I have talked about. But this box is not swapping,
and, as you can see above, data seg size is *unlimited*
Would I have missed another thing?

Thanks,

-- 
______________________________________________________________________
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 - 07:15:05 MST

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