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

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!scsing.switch.ch!bernina!karrer
  3. From: karrer@bernina.ethz.ch (Andreas Karrer)
  4. Subject: Re: Bringing a Sun to it's knees
  5. Message-ID: <1993Jan26.181404.27975@bernina.ethz.ch>
  6. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  7. References: <T6AXBYAV@cc.swarthmore.edu> <1993Jan25.221022.28758@ra.msstate.edu>
  8. Date: Tue, 26 Jan 1993 18:14:04 GMT
  9. Lines: 22
  10.  
  11. fwp@CC.MsState.Edu (Frank Peters) writes:
  12. >   [ standard infinite loop fork program deleted ]
  13. >: We are thinking of ways to prevent this from happening again, any
  14. >: suggestions?
  15.  
  16. >If you look in /sys/conf.common/param.c you will see that MAXUPRC (the
  17. >number of processes per user) is set to 5 less than the total number of
  18. >processes available.  Keeping in mind that the overwhelming number of
  19. >Suns are single user-at-a-time desktop workstations this makes sense.
  20.  
  21. Well, a typical sun runs about 15 processes before any user logs in. thus
  22.  
  23.     #define MAXUPRC (NPROC - 5)
  24.  
  25. will not do you any good: consider a user who -- perhaps inadvertently --
  26. creates MAXUPRC zombies: the sysadmin cannot log in anymore and kill
  27. the parent process.
  28.  
  29.  
  30. +-----------
  31.   Andi Karrer, Communication Systems, ETH Zuerich, Switzerland
  32.   karrer@bernina.ethz.ch    - Objects in mirror are closer than they appear
  33.