*BSD News Article 83361


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Process Hell
Date: Wed, 20 Nov 1996 07:51:46 +0000
Organization: Erol's Internet Services
Lines: 90
Message-ID: <3292B892.4960@www.play-hookey.com>
References: <32925C38.6B0C@ix.netcom.com>
Reply-To: kbigelow@www.play-hookey.com
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (Win16; U)

Did you by any chance make any changes to /usr/src/sys/i386/conf/GENERIC
? If you just did an install and go, maxusers should be set to 10, which
will permit 180 total processes on the system. But if maxusers got
dropped to 1 for some reason, max processes wil be only 36. Either way,
this includes the basic 18 to 20 used by the system itself plus any more
you may have added. The calculation is 20 + 16*maxusers .

I don't *know* that this is your problem, but I didn't see maxusers
listed below, so I thought it worth checking.

Brian Quirion wrote:
> 
> I recently had a bad experience installing 2.2SNAP
> I didnt like the unstableness of the system.
> I reinstalled
> 2.1 RELEASE and noticed this new problem
> 
> I can only run about 10 processes before getting
> No more processes
> or
> cannot form
> errors.
> 
> This never happenned on my original install.
> I have changed kern.maxproc and kern.maxprocperuid to no avail.
> 
> Here is output from sysctl -a
> 
> any and all help APPRECIATED!!
> kern.ostype = FreeBSD
> kern.osrelease = 2.1.0-RELEASE
> kern.osrevision = 199306
> kern.version = FreeBSD 2.1.0-RELEASE #0: Thu Nov 16 10:47:14  1995
>     jkh@westhill.cdrom.com:/usr/src/sys/compile/GENERIC
> 
> kern.maxvnodes = 1935
> kern.maxproc = 2000
> kern.maxfiles = 2048
> kern.argmax = 65536
> kern.securelevel = -1
> kern.hostname = madcow.netcache.com
> kern.hostid = 0
> kern.clockrate: hz = 100, tick = 10000, profhz = 1024, stathz = 128
> kern.posix1version = 198808
> kern.ngroups = 16
> kern.job_control = 1
> kern.saved_ids = 1
> kern.boottime = Tue Nov 19 14:31:58 1996
> kern.domainname =
> kern.update = 30
> kern.osreldate = 199511
> kern.bootfile = /kernel
> kern.maxfilesperproc = 2048
> kern.maxprocperuid = 1200
> kern.dumpdev = disabled
> vm.loadavg: 0.16 0.21 0.22
> net.inet.ip.forwarding = 0
> net.inet.ip.redirect = 1
> net.inet.ip.ttl = 64
> net.inet.ip.rtexpire = 3600
> net.inet.ip.rtminexpire = 10
> net.inet.ip.rtmaxcache = 128
> net.inet.ip.sourceroute = 0
> net.inet.icmp.maskrepl = 0
> net.inet.tcp.rfc1323 = 1
> net.inet.tcp.rfc1644 = 1
> net.inet.tcp.mssdflt = 512
> net.inet.tcp.rttdflt = 3
> net.inet.tcp.keepidle = 14400
> net.inet.tcp.keepintvl = 150
> net.inet.tcp.sendspace = 16384
> net.inet.tcp.recvspace = 16384
> net.inet.udp.checksum = 1
> net.inet.udp.maxdgram = 9216
> net.inet.udp.recvspace = 41600
> hw.machine = i386
> hw.model = Pentium 735\90 or 815\100
> hw.ncpu = 1
> hw.byteorder = 1234
> hw.physmem = 31977472
> hw.usermem = 28188672
> hw.pagesize = 4096
> hw.floatingpoint = 1

-- 
Ken

Are you interested in   |
byte-sized education    |   http://www.play-hookey.com
over the Internet?      |