From owner-freebsd-questions Mon Sep 1 21:47:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA14020 for questions-outgoing; Mon, 1 Sep 1997 21:47:48 -0700 (PDT) Received: from BIGFUN.vwcom.com ([151.197.101.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA14015 for ; Mon, 1 Sep 1997 21:47:41 -0700 (PDT) Received: from WillsCreek.COM (gw.willscreek.com [151.197.101.46]) by BIGFUN.vwcom.com (8.8.6/8.8.6) with ESMTP id AAA23761 for ; Tue, 2 Sep 1997 00:42:45 -0400 (EDT) Received: from current.willscreek.com (bmc@current.willscreek.com [172.16.87.1]) by WillsCreek.COM (8.8.5/8.7.3) with ESMTP id AAA04407 for ; Tue, 2 Sep 1997 00:47:15 -0400 (EDT) Received: (from bmc@localhost) by current.willscreek.com (8.8.5/8.7.3) id AAA01244; Tue, 2 Sep 1997 00:47:14 -0400 (EDT) Date: Tue, 2 Sep 1997 00:47:14 -0400 (EDT) Message-Id: <199709020447.AAA01244@current.willscreek.com> From: Brian Clapper MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: questions@FreeBSD.ORG Subject: Re: freebsd help In-Reply-To: <123152242@toto.iv> X-Mailer: VM 6.23 under Emacs 19.34.1 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jason wrote: [ Playgal.COM? *There's* a new FreeBSD marketing distinction for the web page, fellas. "FreeBSD even drives some of the many porn sites on the Internet." ] > Could anyone with freebsd skills living in fort lauderdale please contact > me for help.we need to increase the number of processes that apache can > spawn. You might try: 1. Bumping up kern.maxprocperuid via sysctl: sysctl -w kern.maxprocperuid From sysctl(3): KERN_MAXPROCPERUID The maximum number of concurrent processes the system will allow for a single effective uid. This limit only applies to processes with an effective uid of nonzero at the time of a fork request. Processes that have already been started are not affected if the limit is changed. 2. Bumping up CHILD_MAX in the kernel. From /usr/src/sys/i386/conf/LINT: # # Under some circumstances it is convenient to increase the defaults # for the maximum number of processes per user and the maximum number # of open files files per user. E.g., (1) in a large news server, user # `news' may need more than 100 concurrent processes. (2) a user may # need lots of windows under X. In both cases, it may be inconvenient # to start all the processes from a parent whose soft rlimit on the # number of processes is large enough. The following options work by # changing the soft rlimits for init. # options CHILD_MAX=128 See `http://www.apache.org/docs/misc/perf-bsd44.html#detail' for some more good hints. ----- Brian Clapper, bmc@WillsCreek.COM, http://WWW.WillsCreek.COM/ If at first you don't succeed, give up, no use being a damn fool.