home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / admin / 10744 < prev    next >
Encoding:
Text File  |  1993-01-25  |  4.3 KB  |  88 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!cs.utexas.edu!swrinde!emory!nntp.msstate.edu!news
  3. From: fwp@CC.MsState.Edu (Frank Peters)
  4. Subject: Re: Bringing a Sun to it's knees
  5. Message-ID: <1993Jan26.020751.13028@ra.msstate.edu>
  6. Sender: news@ra.msstate.edu
  7. Nntp-Posting-Host: jester.cc.msstate.edu
  8. Organization: Computing Center, Mississippi State University
  9. References: <1993Jan25.221022.28758@ra.msstate.edu> <1993Jan25.224946.12079@hal.com>
  10. Date: Tue, 26 Jan 1993 02:07:51 GMT
  11. Lines: 75
  12.  
  13. In article <1993Jan25.224946.12079@hal.com> ables@hal.com (King Ables) says:
  14. : From article <1993Jan25.221022.28758@ra.msstate.edu>, by fwp@CC.MsState.Edu (Frank Peters):
  15. : > In article <T6AXBYAV@cc.swarthmore.edu> eoliver@ralph.cs.haverford.edu (Erik Oliver) says:
  16. : > : During our Operating Systems class, we were being asked to see for
  17. : > : ourselves that "modern" operating systems place limits on the number of
  18. : > : processes an individual user can run thus preventing over load.
  19. : > 
  20. : > Interesting.  Who came up with that theory?  It isn't true and in many
  21. : > cases it isn't desirable.
  22. : But then you went on to prove that it *is* true ;-) (at least for Unix).
  23.  
  24. Huh?  Nonsense.  I specifically sited single user workstations as an
  25. example of a situation in which it is NOT desirable (and pointed out
  26. that most of the Suns out there by a wide margin are desktop systems).
  27.  
  28. : I took the original posting to imply that the class instructor was trying
  29. : to claim that Unix was *not* a "modern OS" because you couldn't protect
  30. : from "this here program that uses up all the processes."  
  31.  
  32. Then the instructor should probably not be teaching the course.  There
  33. is no absolute correct answer here.  The best choice on a single user
  34. machine is different from the best choice on a multiuser server.
  35.  
  36. Arguably companies that only make server class machines should choose
  37. a default maximum appropriate for their market (and, in my experience,
  38. many do).  If they don't then that is a flaw in their configuration
  39. not a flaw in UNIX (UNIX has enough flaws without inventing more).
  40.  
  41. So all the instructor's assignment did was to demonstrate that SunOS
  42. comes, by default, optimised for desktop workstations.  But that
  43. doesn't seem to be what he/she was trying to demonstrate.
  44.  
  45. :                                                           Unix does have
  46. : a limit and you can change that limit.  You have to rebuild the kernel
  47. : in order to do it, though (at least on versions I know about), so it is
  48. : not as easily configurable as one might like.  The instructor was probably 
  49. : thinking of a limit you could set "on the fly" with an OS command, or
  50. : perhaps being able to set different limits for different users.
  51.  
  52. I can agree with that.
  53.  
  54. : The default limit most Unix machines is that the user can use up almost
  55. : all the process slots.  As Frank said, in the case of a single-user
  56. : workstation, this is what you want.  In the case of a multi-user Unix
  57. : machine, clearly you don't want one user to be able to use up everything.
  58.  
  59. Sun is hindered a bit by the fact that they use the same OS on desktop
  60. machines and servers...and, in the case of SS10s and the like the
  61. distinction isn't an easy one to make.
  62.  
  63. That said, though, they could certainly do better.  A quick glance
  64. through the administration guide didn't even turn up a discussion
  65. of the issue.
  66.  
  67. : But just because Unix behaves a certain way by default doesn't mean 
  68. : it can't be adjusted.  Most things like this can be customized for 
  69. : the specific needs of a particular user community.
  70.  
  71. And it often is.  Many high end only UNIX implementations have a
  72. relatively lower per user limit.
  73.  
  74. : Unix does not suffer from a problem here unless you have your kernel
  75. : configured incorrectly for your enviornment.  Now whether or not you
  76. : should have to jump through those kind of hoops to set the limits is
  77. : a philosophical (and entirely different) question.  But claiming Unix
  78. : has some deficiency due to not having a way to limit users' use of
  79. : processes is clearly wrong.
  80.  
  81. It has a way...and, all things considered, not all that complicated a
  82. way (change one line in a C program file and rebuild your kernel...
  83. easier than getting SunOS 4.x to use DNS without YP/NIS).
  84. --
  85. Frank Peters  -  UNIX Systems Programmer  -  Mississippi State University
  86. Internet: fwp@CC.MsState.Edu  -  Phone: (601)325-7030  -  FAX: (601)325-8921
  87.