*BSD News Article 71003


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!newsfeed.internetmci.com!in2.uu.net!news.mindspring.com!usenet
From: Ron Bolin <rlb@mindspring.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Can't Fork Process
Date: Sat, 15 Jun 1996 06:32:57 -0400
Organization: MindSpring Enterprises
Lines: 26
Message-ID: <31C29159.237C228A@mindspring.com>
NNTP-Posting-Host: rlb.mindspring.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4 (X11; I; FreeBSD 2.1.0-RELEASE i386)

I sometimes get "can't fork process" errors when issuing shell
commands under 2.1R. I have explicitly set kernel parameters 
as follows in rc.local:

sysctl -w kern.maxprocperuid=250
sysctl -w kern.maxproc=600
sysctl -w kern.maxfiles=450     

I still get the Can't fork errors at times. When I count my processes
they are 39-45 and system processes are 79-89. When I su to root
it I don't get these errors. Is this a bug or do I need to set another
kernel parameter?

Thank's in advance.

PS: System 133MZ Pentium (Tyan 1462)e/w 64MB RAM, Adaptec 2940W, ATI Mach64 Turbo
Pro, and SCSI everything else except for my NE2000+.

Ron 

-- 
****************************************************************************
Ron Bolin: rlb@mindspring.com gs01rlb@panther.gsu.edu                      *
GSU CS Grad Student:http://www2.gsu.edu/~gs01rlb/                          *
Home: 770-992-8877 
****************************************************************************