home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / admin / 10784 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.5 KB

  1. Path: sparky!uunet!enterpoop.mit.edu!usc!nic.csu.net!nic.csu.net!nntp
  2. Newsgroups: comp.sys.sun.admin
  3. Subject: Re: Bringing a Sun to it's knees
  4. Message-ID: <1993Jan26.164557.3940@nic.csu.net>
  5. From: oleg@gd.cs.csufresno.edu
  6. Date: 26 Jan 93 16:45:55 PST
  7. Sender: oleg@gd.cs.csufresno.edu
  8. References: <T6AXBYAV@cc.swarthmore.edu> <1993Jan25.221022.28758@ra.msstate.edu>
  9. Organization: Computer Science Departement of California State University in Fresno
  10. Nntp-Posting-Host: gd.cs.csufresno.edu
  11. Lines: 24
  12.  
  13. In article <1993Jan25.221022.28758@ra.msstate.edu> fwp@CC.MsState.Edu (Frank Peters) writes:
  14. >In article <T6AXBYAV@cc.swarthmore.edu> eoliver@ralph.cs.haverford.edu (Erik Oliver) says:
  15. >: During our Operating Systems class, we were being asked to see for
  16. >: ourselves that "modern" operating systems place limits on the number of
  17. >: processes an individual user can run thus preventing over load.
  18. >
  19. >Interesting.  Who came up with that theory?  It isn't true and in many
  20. >cases it isn't desirable.
  21. >
  22.  
  23. SunOS limits a normal user to 25 processes or so. This usually prevents a runaway program
  24. from hanging the system, but won't stop one from crashing the system if that's what you
  25. want. First, this doesn't apply to setuid processes, like many system commands. Also, process
  26. table is not the only finute resource. Try allocate ~32M array in your program and write
  27. bytes in random positions.
  28.  
  29. I have yet to see the system that survives this:
  30.  
  31. $ while :
  32. do
  33.     /usr/etc/ping -s localhost >/dev/null 2>&1 &
  34. done
  35.  
  36. Oleg
  37.