lkml.org 
[lkml]   [1996]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: memory crash

"Richard B. Johnson" <root@analogic.com> writes:
> I don't think you have to go to all that trouble. The following code
> will hang my system AND a Sun witb SinOs 4.3
>
> main()
> {
> char x[2048];
> main();
> }
>

This is not a kernel error, it is a configuration error. If you don't
want this to happen, set up process limits, memory limits, and CPU
usage limits. You can do this in /etc/profile and /etc/csh.cshrc, but
I recommend the lshell package available from sunsite somewhere under
/pub/Linux/System since it gives a more consistent interface to the
problem and works with every login shell. (sorry I can't be more
specific). Please respond to comp.os.linux.setup as this is off-topic
for the kernel mailing list.

Cordially,

Sumner

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