Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!noc.netcom.net!ix.netcom.com!howland.reston.ans.net!news.sprintlink.net!gatech!gt-news!cc.gatech.edu!not-for-mail From: paulson@cc.gatech.edu (Brent Paulson) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Limit to max no processes per user? Date: 22 Aug 1995 01:06:02 -0400 Organization: College of Computing, Georgia Tech Lines: 26 Message-ID: <41bojq$r4v@oscar.cc.gatech.edu> References: <DDIBu9.9J0@seeware.DIALix.oz.au> <412ao4$ror@fu-berlin.de> <416jal$khn@gate.sinica.edu.tw> <419ng1$qeq@bonnie.tcd-dresden.de> NNTP-Posting-Host: oscar.cc.gatech.edu NNTP-Posting-User: paulson j@bonnie.heep.sax.de (J Wunsch) writes: >Brian Tao <taob@gate.sinica.edu.tw> wrote: >>>maxproc 40 >> >> But is there a way to raise the default limit of 40 processes per >>user? Is it a kernel thing or is it a shell thing? >I think it's a kernel thing. Perhaps there's even a sysctl variable >available for it. It's a kernel thing. It's located in /usr/src/sys/conf/param.c excerpt from param.c: #define NPROC (20 + 16 * MAXUSERS) int maxproc = NPROC; /* maximum # of processes */ int maxprocperuid = NPROC-1; /* maximum # of processes per user */ int maxfiles = NPROC*2; /* system wide open files limit */ Take care, Brent -- Brent Paulson | "Cath Carroll is going to paulson@cc.gatech.edu | take me for a ride!" FreeBSD.Pool.Iced Tea. | -Unrest