Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!cbmvax!grr From: grr@cbmvax.UUCP (George Robbins) Newsgroups: comp.unix.ultrix Subject: Re: Help with process limitation under Ultrix Message-ID: <8545@cbmvax.UUCP> Date: 14 Nov 89 02:08:55 GMT References: <120@cutmcvax.OZ> Reply-To: grr@cbmvax.UUCP (George Robbins) Organization: Commodore Technology, West Chester, PA Lines: 22 In article <120@cutmcvax.OZ> craig@cutmcvax.oz (Craig Farrell) writes: > > We are about to convert our vax over to Ultrix (V3.1) and we require > a way to limit the number of processes a user can fork off. Ideally we > would like to do a minimum of Kernel hacking, so... does someone out there > have, or know of, a system to limit a users processes for ultrix which we can > get our hands on. There is a configuration parameter that does this "maxuprc" - the only thing is you don't want to set it too low, since it applies to all non-root user id's and things get messed up in fairly disgusting ways when id's like daemon, news, and uucp run out of processes, so I wouldn't recommend setting it lower than 15 and considerably higher if your system is heavily loaded. A clever person could probably patch things to change the test for whether the limit applies from uid=0 to uid < n or gid < n, but I've never bothered, since I run with maxuprc set to 48, and go track down and shoot offenders... -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing arpa: cbmvax!grr@uunet.uu.net Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)