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

> 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();
> }
>
> Eventually the drive that contains the swap file will come on continuously
> and there is too little available CPU time to kill the task .....

You should have resource limits set to stop your users doing this if it
worries you.

Alan


\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2011 Jasper Spaans