Re: kernel out of memory with squid

From: Maciej Szulc <wodzu@dont-contact.us>
Date: Tue, 15 Dec 1998 15:20:36 +0100 (MET)

On Tue, 15 Dec 1998, Utku Er wrote:

> Date: Tue, 15 Dec 1998 15:31:56 +0200
> From: Utku Er <erutku@netone.net.tr>
> To: Squid List <squid-users@ircache.net>
> Subject: kernel out of memory with squid
> Resent-Date: Tue, 15 Dec 1998 06:06:31 -0800 (PST)
> Resent-From: squid-users@ircache.net
>
>
> Well thanks everybody for their tips for the filedescriptor problem. i
> recompile the kernel with that patch, and recompile squid. now it's running
> with 1024 descriptors.
>
> BUT NOW I have "Couldn't get a free page....." messages from the kernel...
> and I can do nothing in seconds sometimes. my shell gets locked, kernel gets
> out of memory and give "Cannot allocate memory" messages...
>
> Is this a known problem ? I coudn't find it in archive.
>
> from the /var/log/messages:
> Dec 15 14:15:00 proxy kernel: Couldn't get a free page.....
> .
> .
>
> Thanks in advance,
> Utku.
>

Yes, it is known and common problem with 2.0.xx kernels. I don't know why,
how to fix etc... I played with /proc/... (freepages etc) but it doesn't
work at all. In my cache i have 160M Ram with 200M swap. But it makes no
difference - kernel even don't try to swap.

If you will upgrade system to 2.1.13x everything will be ok. 2.1.130 and
2.1.131 are quite stable, i don't recommend using 2.1.126-2.1.129.

                                pozdrawiam
                  ___________ _____
         Maciej Szulc \ / e-mail:
  Student of Computer Science \/ wodzu@pg.gda.pl
Technical University of Gdansk /\
~~~~~~~~~~~~~~~~~~~~~~~~~~~~oooooo~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         Student's hostel nr 2 network administrator
Received on Tue Dec 15 1998 - 08:38:47 MST

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