On Monday 20 March 2006 01:44, guy keren wrote:
> On Mon, 20 Mar 2006, Lior Kaplan wrote:
> > Shlomi Fish wrote:
> > > Hi all!
> > >
> > > I had to reboot eskimo twice during the last days. Today, after the
> > > second time I rebooted, I decided to investigate and see what caused
> > > the problem. So I found the messages like that in /var/log/messages:
> > >
> > > <<<<
> > > Mar 20 19:30:42 eskimo kernel: oom-killer: gfp_mask=0xd2
> > > Mar 20 19:31:04 eskimo kernel: DMA per-cpu:
> > > Mar 20 19:31:04 eskimo kernel: cpu 0 hot: low 2, high 6, batch 1
> > > Mar 20 19:31:04 eskimo kernel: cpu 0 cold: low 0, high 2, batch 1
> > >Mar 20 19:31:04 eskimo kernel: Normal per-cpu:
> > > Mar 20 19:31:04 eskimo kernel: cpu 0 hot: low 32, high 96, batch 16
> > > Mar 20 19:31:04 eskimo kernel: cpu 0 cold: low 0, high 32, batch 16
> > > Mar 20 19:31:04 eskimo kernel: HighMem per-cpu: empty
> > > Mar 20 19:31:04 eskimo kernel:
> > > Mar 20 19:31:16 eskimo kernel: Free pages:      2168kB (0kB HighMem)
>
> as you see, there were 0kB of HighMem available for some reason. if you
> look, the other pools (DMA memory and normal memory) had enough space.
>
> the oom-killer doesn't check ammount of free RAM in general - it checks
> the ammount of free RAM in a list of 'zones' in the kernel. if any of them
> goes below the minimum, it is invoked and goes on a killing spree.
>
> the odd part is that it looks like there is no high memory available at
> all on the machine (both 'active' and 'inactive' for HighMem are 0).
>
> see more below:
> > > Mar 20 19:31:20 eskimo kernel: Free pages:      1920kB (0kB HighMem)
> > > Mar 20 19:31:20 eskimo kernel: Active:48301 inactive:20731 dirty:0
> > > writeback:0 u
> > > nstable:0 free:480 slab:3524 mapped:71410 pagetables:1654
> > > Mar 20 19:31:20 eskimo kernel: DMA free:888kB min:28kB low:56kB
> > > high:84kB active
> > >
> > > :3928kB inactive:3324kB present:16384kB
> > >
> > > Mar 20 19:31:20 eskimo kernel: protections[]: 14 284 284
> > > Mar 20 19:31:20 eskimo kernel: Normal free:1032kB min:540kB low:1080kB
> > > high:1620
> > > kB active:189276kB inactive:79600kB present:311280kB
> > > Mar 20 19:31:20 eskimo kernel: protections[]: 0 270 270
> > > Mar 20 19:31:20 eskimo kernel: HighMem free:0kB min:128kB low:256kB
> > > high:384kB a
> > > ctive:0kB inactive:0kB present:0kB
>
> as you see here - there is no high memory at all.
>
> now, high memory refers to (as far as i know) memory above 890 and
> something MB. questions:
>
> 1. how much RAM is there on the machine?
>    top on iglu.org.il (this is eskimo, right?) sais there is only 321776KB
>    of RAM. is this true?

That's right - there's 321776k of RAM. And Eskimo is indeed the "iglu.org.il" 
host.

>
> 2. if the above is true, there is no high memory on the machine, so the
>    oom killer works for no good reason.
>
>    did someone compile this kernel from sources, or is it a binary package
>    that came with the system? it looks like some bad configuration, in my
>    opinion.

This is the latest update of the Debian Sarge standard kernel:

<<<
[EMAIL PROTECTED]:~$ uname -a
Linux eskimo 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686 GNU/Linux
>>>

It's installed from its .deb file.

Regards,

        Shlomi Fish

---------------------------------------------------------------------
Shlomi Fish      [EMAIL PROTECTED]
Homepage:        http://www.shlomifish.org/

95% of the programmers consider 95% of the code they did not write, in the
bottom 5%.

Reply via email to