From owner-freebsd-questions Fri Jul 24 12:54:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA17565 for freebsd-questions-outgoing; Fri, 24 Jul 1998 12:54:00 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from rm-rstar.sfu.ca (root@rm-rstar.sfu.ca [142.58.120.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA17535 for ; Fri, 24 Jul 1998 12:53:49 -0700 (PDT) (envelope-from wolstena@sfu.ca) Received: from beaufort.sfu.ca (wolstena@beaufort.sfu.ca [192.168.0.110]) by rm-rstar.sfu.ca (8.8.7/8.8.7/SFU-4.0H) with SMTP id MAA24771; Fri, 24 Jul 1998 12:53:21 -0700 (PDT) From: Paul Wolstenholme Received: by beaufort.sfu.ca (951211.SGI.8.6.12.PATCH1502/SFU-2.7C) id MAA25869 (from wolstena@sfu.ca); Fri, 24 Jul 1998 12:53:21 -0700 Message-Id: <199807241953.MAA25869@beaufort.sfu.ca> Subject: Re: Problems with process limits To: btman@ugcs.caltech.edu (Brian Tiemann) Date: Fri, 24 Jul 1998 12:53:20 -0700 (PDT) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: from "Brian Tiemann" at Jul 24, 98 11:04:42 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm no expert on this but I think you may have to recompile your kernel and increase the maxuser settings. I believe you may also want to tweek you apache settings (if that's what your using). I believe there is an FAQ on optimizing high load servers. /Paul > > > Hi... I'm having a problem with a high-load webserver that I hope > someone can help me with. > > I'm running 2.2.6... the server is sustaining a pretty regular 30 > httpd processes at any one time. However, when it spikes up to around 128 > or so (total system processes over 160), I start getting "Couldn't spawn > child process" messages in my error_log. > > httpd runs as "www"; the www user is in a class called "www". > Here's the entry in login.conf: > > www:\ > :path=/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ > :cputime=infinity:\ > :filesize=128M:\ > :datasize-cur=64M:\ > :stacksize-cur=32M:\ > :coredumpsize-cur=0:\ > :maxmemorysize-cur=128M:\ > :memorylocked=32M:\ > :maxproc=512:\ > :maxproc-cur=256:\ > :openfiles=512:\ > :tc=default: > > > I managed to solve this using login.conf in 2.2.2, but I can't > seem to get it to behave here. Is there something I'm missing? > > Thanks! > > Brian > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message