*BSD News Article 81919


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!news.mindspring.com!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!psinntp!psinntp!pubxfer.news.psi.net!usenet
From: Luoqi Chen <luoqi@watermarkgroup.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Running out of processes in FreeBSD 2.1.5
Date: Tue, 29 Oct 1996 16:24:50 -0500
Organization: The Watermark Group
Lines: 23
Message-ID: <32767605.5DA3@watermarkgroup.com>
References: <JOHN.96Oct24231814@burdell>
NNTP-Posting-Host: 38.246.139.33
Mime-Version: 1.0
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (Macintosh; I; PPC)

John Galbraith wrote:
> 
> I am having trouble with the process table filling up, it seems.  I
> get messages like "cannot fork()", "vfork() failed", and stuff like
> that after I have been running for a while.  I generally run X, but I
> am the only user of the machine.  When I first started running into
> this, I cranked "maxusers" up to 25 (which would seem like plenty of
> entries to me, isn't that something like 25*16 = 400 processes?) but
> it doesn't seem to have any effect.  My problem must be somewhere
> else.  ps doesn't show any zombies or weird stuff filling up the
> process table.  In fact, it only lists about 45 entries! Is this a
> problem that has been encountered by anybody else?
> 
> John
It seems to me more like a memory problem. Try to increase your swap
space.
You can either add one more swap partition, or much easier, create a
regular file
and enable vnode swap on top of it. Make sure your psuedo device "vn" is
configured
into your kernel. For detail, look at man page for vnconfig(8).

-lq