Re: [squid-users] squid crashing consistently under high loads (2.4STABLE1)

From: Adrian Chadd <adrian@dont-contact.us>
Date: Tue, 8 May 2001 01:46:28 -0600

On Mon, May 07, 2001, Adam Woodbidge wrote:

[snip]

> Mysteriously, squid doesn't report anything seriously wrong in cache.log
> just before the box crashes. However, after just recently enabling kernel
> console logging to the serial port, I saw the following error message
> repeatedly displayed while the problem was happening on one of the boxes:
>
> __alloc_pages: 1-order allocation failed.
>
> If I understand this message correctly, the kernel as failed to allocate
> memory. But how can this be when, even during peak usage, the squid process
> uses only about 300MB? Each box has over 1GB of RAM in it, plus another
> 1.5GB in swap space (which I've never seen used)!

Your kernel also requires memory for things like socket buffers,
packet buffers, tcp control blocks..

It looks like you are running out of RAM in the kernel.

> Any information or suggestions that could be provided towards resolving this
> problem would be very much appreciated. I'd be happy to forward more
> information if required.

Whats the output of cat /proc/meminfo ?

>
> Regards,
>
> Adam Woodbridge
>
Received on Tue May 08 2001 - 01:46:28 MDT

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