*BSD News Article 81313


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!uwm.edu!cs.utexas.edu!howland.erols.net!news.mathworks.com!uunet!in2.uu.net!news.eden.com!arlut.utexas.edu!usenet
From: Ian Fink <fink@arlut.utexas.edu>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: cant fork
Date: Tue, 22 Oct 1996 13:27:23 -0500
Organization: Applied Research Laboratories - The University of Texas at Austin
Lines: 42
Message-ID: <326D120B.331C@arlut.utexas.edu>
References: <326BF459.1F58@netjet.com>
NNTP-Posting-Host: seadevil.arlut.utexas.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/730)
To: kornel@netjet.com

kornel wrote:
> 
> Hi,
> 
> I was wondering if anyone ran into the problem that our shop has
> been struggling with for a while:
> 
> We get a 'can't fork new process: Temporarily out of resources' error
> from the netscape server on a BSDi box. I have raised the maxusers
> (in the kernel) to 256 from 20 and hoped the problem would go away. It
> appeared for a while that it did go away but then it started reoccuring.
> Does anybody know to what number I should set the maxusers variable
> in the kernel to get get rid of this 'cant fork' problem. Also,
> is there any other kernel setting I should be aware of that might
> adjust resources such that this problem would go away?
> 
> All help would be greatly appriciated.
> 
> Kornel
> --
> ------------------------------------------------------------
>  Kornel Csaszar                  Email: kornel@netjet.com
> 
>  Chief Technology Officer (CTO)  Fax:   415-547-7735
>  NetJet Communications           Phone: 415-547-7730
>  Web Publisher to the World      http://www.netjet.com/
>  ------------------------------------------------------------



Did you re-compile and install then re-boot when you set maxuser to 256?
  
If you are using BSDI version < 2.1 you might also want to increase
the number of ttys in the kernel.

If that doesn't work, you might have to hack the init program to allow
more than 64 logins from a single user.  I had to do that running a
different server, but I can't see you having to do that with an http
daemon.

Ian Fink
fink@arlut.utexas.edu