Re: running of out memory => kernel crash

From: Mahmood Naderan
Date: Tue Aug 09 2011 - 03:23:04 EST


>Do you have any kernel log panic/oops/Bug messages?
 
Actually, that happened for one my diskless nodes 10 days ago.
What I saw on the screen (not the logs), was
"running out of memory.... kernel panic....."

I have not defined any swap partition for diskless nodes. Only the server
has such partition.

If you think that is an odd behavior, please let me know what will happen
exactly when an application needs more memory but there is no room
left and swap is disabled.
 

// Naderan *Mahmood;


----- Original Message -----
From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
To: Mahmood Naderan <nt_mahmood@xxxxxxxxx>; linux-mm@xxxxxxxxx
Cc: "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>
Sent: Tuesday, August 9, 2011 11:36 AM
Subject: Re: running of out memory => kernel crash

On Mon, August 8, 2011 11:53 pm, Mahmood Naderan wrote:
> Hi
> I have noticed that when the swap is disabled
>
> (either via swapoff or not defining any swap partition),
>
> then running out of memory can cause a kernel panic. 
>
> I wonder why the hungry application won't be killed
>
> upon a request for a resource that is not available?
> In that case, the problematic application will be killed
> only but what we see now is that the whole system is
> crashed.

Do you have any kernel log panic/oops/Bug messages?

[adding linux-mm mailing list]


--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/