xfs
[Top] [All Lists]

Re: kernel panic:kmem_zone_zalloc: NULL memory on KM_SLEEP request!

To: marat <nospam-259928-001@xxxxxxx>
Subject: Re: kernel panic:kmem_zone_zalloc: NULL memory on KM_SLEEP request!
From: Nathan Scott <nathans@xxxxxxx>
Date: Wed, 10 Dec 2003 09:37:15 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200312091023.47865.nospam-259928-001@xxxxxxx>
References: <200312081317.26603.nospam-259928-001@xxxxxxx> <20031209025039.GB1798@frodo> <200312091023.47865.nospam-259928-001@xxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Tue, Dec 09, 2003 at 10:23:47AM +0100, marat wrote:
> Nathan,
> 
> Thanks a lot for a good explanation.
> 
> At the moment we are using 4Gb of memory on this machine. Do you think, it 
> will help if I add more  memory ? 
> 
> And, you said it tries to allocated memory a number of times. Is it in 
> support/kmem.c file : 
>  #define MAX_SHAKE 8  ?
> May be I can try to increase this value.

Thats the right file, but look at DEF_PRIORITY not MAX_SHAKE.
I think you'll be better off tweaking those VM sysctls though,
or trying a more recent kernel.

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>