Re: Hrm.. weird error

From: Michael Slater <>
Date: Tue, 21 Apr 1998 15:50:23 +0800 (WST)

On Tue, 21 Apr 1998, David Luyer wrote:

> > Hello,
> >
> > Our squid process has been exiting and then restarting quite a bit
> > lately.. after checking the logs I came up with this.. anyone know what
> > causes this?
> I guess the subscribe info for the squid-users list isn't quite
> explicit enough. Read the FAQ, it answers your question and the
> other million people who've asked this question.

The message "FATAL: malloc: Unable to allocate 4096 blocks of 1

On a Pentium Pro with 256 mb of ram using FreeBSD 2.2.5 i was getting the
above message every 5 to 10 mins..

>>>is seen when Squid can't allocate more memory, and on most operating
>>>systems (inclusive BSD) there are only two possible reasons:

>>>The machine is out of swap
>>>The max data segment size is reached

On FreeBSD, the above problem can be duplicated by compiling a kernel with
options SYSVSHM

however neither of the above possible causes were
the reason behind it. So despite reading the FAQ my problem was still not

> Does the subscribe info have something like "make sure you read
> completely before asking
> any questions about running squid" or something like that?

If the FAQ does not answer our question, are we supposed to keep our mouth
shut to avoid irritating someone who does not feel like answering a

> David.
> > Apr 21 04:13:07 proxy Apr 21 04:13:07squid[: xmalloc: Unable to allocate
> > 4096 bytes!
> [...]
Received on Tue Apr 21 1998 - 00:51:25 MDT

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