*BSD News Article 71077


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!oleane!jussieu.fr!rain.fr!oops.ip.lu!not-for-mail
From: frank@oops.ip.lu (phrank)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Can't Fork Process
Date: 15 Jun 1996 17:07:09 +0200
Organization: Infopartners S.A. Luxembourg
Lines: 33
Message-ID: <4pujit$rkf@oops.ip.lu>
References: <31C29159.237C228A@mindspring.com>
NNTP-Posting-Host: oops.ip.lu
X-Newsreader: TIN [version 1.2 PL2]

Ron Bolin (rlb@mindspring.com) wrote:
: 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 
: ****************************************************************************


it might be related to your shell ... try the ((t)csh-builtin) command 'limit'
and/or 'unlimit maxproc' (or so)
so short,
frank