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