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    [W:0.075 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site