From owner-freebsd-questions Tue May 12 06:40:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA02773 for freebsd-questions-outgoing; Tue, 12 May 1998 06:40:00 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ers.online.sh.cn ([202.96.211.193]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA02632 for ; Tue, 12 May 1998 06:39:13 -0700 (PDT) (envelope-from paulk@ether.online.sh.cn) Received: from jinbo (202.120.100.126) by ers.online.sh.cn (EMWAC SMTPRS 0.81) with SMTP id ; Tue, 12 May 1998 21:37:03 +0800 Message-ID: <002001bd7daa$fe69c9a0$c201a8c0@jinbo.ecust.edu.cn> Reply-To: "Paul King" From: "Paul King" To: Subject: Heavy Load Apache Server on FreeBSD - Performance Tune? Date: Tue, 12 May 1998 21:36:21 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3007.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3007.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I build a heavy load apache server on FreeBSD server, my sever config is: PII/233, 128M, 4G SCSI HD And I modify the kernel paraments as: maxusers 256 options SHMMNI=65 options SHMSEG=33 options NMBCLUSTERS=4096 options CHILD_MAX=512 options OPEN_MAX=1024 and in my web site, most of pages are dynamic, (some are include more than 8 CGI). While the server first startup, i found that when the System's processes number reach to 280, the CGI will not execute and Apache report "mod_cgi, couldn't spawn child process error", and when i disconnect it from net, i found it will recover till the some processes end. And while i Stop Apache and Restart It, the ERROR will apear while more than 80 processes. I had check the memory usage, socket state, and file open state, and i found the system resource is enough. I want to make the site one of LARGEST site in China, I want to resolve the problem. Can SomeBody Help ME? Regrads ---------------------------------------------------------------------- JinBo PH.D Student in East China University of Science and Technology ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message