Re: Squid on FreeBSD: xmalloc causes restarting

From: Stuart Bryant <lister@dont-contact.us>
Date: Mon, 3 Nov 1997 13:22:11 +1030 (CST)

>
> Hello squid-users,
>
> we have been using Squid for a couple of weeks and are very
> satisfied. However, there is one problem.
>
> We have Squid 1.1.14 on FreeBSD 3.0-970807-SNAP.
> From time to time, we can see Squid restarting itself,
> generating the following message:
>
> FATAL: xmalloc: Unable to allocate 4096 bytes!
>
> Squid Cache (Version 1.1.14): Terminated abnormally.
> CPU Usage: user 39 sys 80
> Maximum Resident Size: 32300 KB
> Page faults with physical i/o: 12
> 97/10/31 09:00:01| Starting Squid Cache version 1.1.14 for i386-unknown-freebsd3.0...
>
>
> Can anyone provide any kind of advice or comment?
> TIA,

  besides whats been written in the faq, the thing that bit me on the arse
 rather hard was not setting OPEN_MAX and CHILD_MAX high enough. this gives
 the same error.

  check to see that you dont have it set to something silly like 128 or
 somesuch.

stuart bryant stuartb@chariot.net.au cabinet maker/plumber wannabe
chariot internet ph +61 8 8272 7677 f +61 8 8272 7210
               founding member: fellowship of beer.
                      i used to bite (tm)
Received on Sun Nov 02 1997 - 18:56:51 MST

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