lkml.org 
[lkml]   [1997]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Out of memory kernel death
You should limit the memory an individual process can allocate during
testing. See the ulimit command.

On Mon, 5 May 1997, Chris Griffin wrote:

> A small question?
> How should linux react when a run-away process attempts to grab
> all the memory? I had such an occurance today. Because of STUPID
> PROGRAMMING ERROR Technology(tm) I had a job that went into an allocation
> loop and grabbed all the memory. As soon as every little bit of swap was
> used up the system froze and I got a "kernel: unable to load
> interpretor". Is this the proper/planned behavior in this case? I would
> think either the process would die with an unable to get free page error,
> or the kernel would oops with the same problem and reset. I am using
> kernel 2.0.30 / libc5.3.12 on an SMP enabled p6dnf 2x200mhz ppro system.
> BTW: ps reported the process was in an uninteruptable sleep state (I suppose
> because of the memory allocation loop) so I couldn't kill it :(
>
> thanks
> Chris
>
>

--- +++ --- +++ --- +++ --- +++ --- +++ --- +++ --- +++ ---
Please always CC me when replying to posts on mailing lists.


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.268 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site