From owner-freebsd-questions Fri Jul 24 11:05:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29650 for freebsd-questions-outgoing; Fri, 24 Jul 1998 11:05:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lionking.org (btman@blacker-99.caltech.edu [131.215.86.99]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29638 for ; Fri, 24 Jul 1998 11:05:07 -0700 (PDT) (envelope-from btman@ugcs.caltech.edu) Received: from localhost (btman@localhost) by lionking.org (8.9.1/8.9.1) with SMTP id LAA27896 for ; Fri, 24 Jul 1998 11:04:42 -0700 (PDT) X-Authentication-Warning: lionking.org: btman owned process doing -bs Date: Fri, 24 Jul 1998 11:04:42 -0700 (PDT) From: Brian Tiemann X-Sender: btman@lionking.org To: freebsd-questions@FreeBSD.ORG Subject: Problems with process limits Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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