Date: Fri, 24 Jul 1998 12:53:20 -0700 (PDT) From: Paul Wolstenholme <wolstena@sfu.ca> To: btman@ugcs.caltech.edu (Brian Tiemann) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problems with process limits Message-ID: <199807241953.MAA25869@beaufort.sfu.ca> In-Reply-To: <Pine.BSF.4.00.9807241059330.24191-100000@lionking.org> from "Brian Tiemann" at Jul 24, 98 11:04:42 am
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807241953.MAA25869>