Re: Crashing Unix

From: Nick Maclaren (nmm1@cus.cam.ac.uk)
Date: 04/24/02


From: nmm1@cus.cam.ac.uk (Nick Maclaren)
Date: 24 Apr 2002 07:43:55 GMT

In article <MPG.172fd44bf509914c989685@news.sover.net>,
Peter <pcc@ecet.vtc.edu> wrote:
>
>In article <aa1bo5$ian$1@pegasus.csx.cam.ac.uk>, nmm1@cus.cam.ac.uk
>says...
>
>> Most serious Unix systems have per-user process count limits, and
>> will survive such things (if properly configured). There are
>> attacks along such lines, but you have to be a bit cleverer.
>
>Indeed... I manage a system that is used by students in programming
>classes. It isn't too unusual for a student program to go nuts and fork()
>in an infinite loop... due to student misunderstanding and not malice.
>Similar things sometimes happen with infinite loops around malloc() or
>open(). I tend to run the system in question with a rich collection of
>resource limits active to prevent such accidents from killing the box.
>It's the only way to go. :-)

"Prevent" is the wrong word :-( "Reduce the incidence of"! If those
students do a significant amount of Intternet programming, then there
are plenty of resources which are not covered by such limits on any
Unix I know.

But I assume that you are aware of that ....

Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email: nmm1@cam.ac.uk
Tel.: +44 1223 334761 Fax: +44 1223 334679



Relevant Pages

  • Re: artificial intelligence
    ... precise degree which we are capable of programming ... Precisely what is meant by "human limits"? ... and in those domains some exceeds human limits. ... Again it exceeds the limit of one doctor because it can ...
    (comp.ai.philosophy)
  • Re: a language is a language
    ... Implementations with such limits are conforming C, ... is considered a programming language without caveats like "if you ... resources must be available to programs written in the language. ...
    (comp.programming)
  • Re: a language is a language
    ... Implementations with such limits are conforming C, ... is considered a programming language without caveats like "if you ... resources must be available to programs written in the language. ...
    (comp.programming)
  • Re: a language is a language
    ... The C language does not guarantee infinite limits. ... "programming language", which you are using as if it means "language ... with semantics which are capable of simulating a Turing machine", ...
    (comp.programming)
  • Re: 128 students suspended at Ind. school
    ... I have said that student dress isn't a big issue with me. ... for dress code violations because I don't want kids missing class. ... That works ONLY when the other students are offended by ... limits dramatically-and then, SINCE the rules haven't been enforced equally, ...
    (misc.kids)