Re: Squid dying under heavy load..?

From: Mike Pelletier <[email protected]>
Date: Tue, 17 Jun 1997 12:33:21 -0400 (EDT)

On Tue, 17 Jun 1997, A. Rytsola wrote:

> Hardware: PPro200, 128MB, 8 GB.
> Software: FreeBSD-2.2.1,Squid-1.1.10
> Hitrate: 50t / hour peek, 30t average.
>
> Lately, as the usage of the proxy has been going up, the squid
> has been dying (exiting) about 2-3 times a night.
> This shouldn't be a memory problem, squid running just nice,
> a bit slow thought. At full load seek time 0.5s.
> Well, anyway, the error message is quite nice:
>
> FATAL: xcalloc: Unable to allocate 4096 blocks of 1 bytes!

Check what your per-process limits are. If you have plenty of memory but
your process is running out, it's probably running into that limit. Use
the "limit" command to check it, and "unlimit" to remove the limits. I
have a BSD/OS system with 256MB of memory, so I've run into this myself.

        -Mike.
Received on Tue Jun 17 1997 - 09:38:55 MDT

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