From nobody  Tue Apr  1 14:19:25 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id OAA06675;
          Tue, 1 Apr 1997 14:19:25 -0800 (PST)
Message-Id: <199704012219.OAA06675@freefall.freebsd.org>
Date: Tue, 1 Apr 1997 14:19:25 -0800 (PST)
From: hawke@hawke.nkn.net
To: freebsd-gnats-submit@freebsd.org
Subject: Wierd CGI Behavior on heavily loaded webserver.
X-Send-Pr-Version: www-1.0

>Number:         3167
>Category:       conf
>Synopsis:       Wierd CGI Behavior on heavily loaded webserver.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr  1 14:20:02 PST 1997
>Closed-Date:    Wed Apr 2 16:24:11 PST 1997
>Last-Modified:  Wed Apr  2 16:24:41 PST 1997
>Originator:     Lloyd Duhon
>Release:        3.0-CURRENT
>Organization:
Zoron, Inc.
>Environment:
FreeBSD hawke.nkn.net 3.0-970209-SNAP FreeBSD 3.0-970209-SNAP #0: Tue Apr  1 13:
19:57 CST 1997     hawke@hawke.nkn.net:/usr/src/sys/compile/HAWKE  i386
>Description:
Having set up the server following all of the settings for Extremely busy
FreeBSD servers, and compiling with the suggestions on the FIN_WAIT_2 problem,
I am still experiencing CGI scripts failing within SECONDS of restarting the
Web Server, The error is the same, "Internal Misconfiguration, please contact 
webmaster" error that would occur if something was wrong in the script. However,
If I HUP the web server, the scripts will work properly for about 15 Secs, then
the error will reappear. The server is a Dual Pentium Pro 200 w/ 256 MB Ram, and
4GB SCSI HDD.
>How-To-Repeat:
http://hawke.nkn.net/cgi-bin/testenv.cgi
>Fix:

>Release-Note:
>Audit-Trail:

From: "Gary Palmer" <gpalmer@freebsd.org>
To: hawke@hawke.nkn.net
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: conf/3167: Wierd CGI Behavior on heavily loaded webserver. 
Date: Wed, 02 Apr 1997 18:44:07 -0500

 hawke@hawke.nkn.net wrote in message ID
 <199704012219.OAA06675@freefall.freebsd.org>:
 
 > Having set up the server following all of the settings for Extremely
 > busy FreeBSD servers, and compiling with the suggestions on the
 > FIN_WAIT_2 problem , I am still experiencing CGI scripts failing
 > within SECONDS of restarting the Web Server, The error is the same,
 > "Internal Misconfiguration, please contact webmaster" error that
 > would occur if something was wrong in the script. Howev er, If I HUP
 > the web server, the scripts will work properly for about 15 Secs, th
 > en the error will reappear. The server is a Dual Pentium Pro 200 w/
 > 256 MB Ram, and 4GB SCSI HDD.
 
 Try recompiling the kernel with higher per-user process limits or
 start the apache server from a command prompt which has had the limits
 raised. Alternatively, use apache 1.2b7 which has the ability to
 change the resource limits to values specified in its configuration
 file. Or, if you are nuts, like me, hack the apache startup code to do
 the appropriate calls to increase the limits :)
 
 Gary
 --
 Gary Palmer                                          FreeBSD Core Team Member
 FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info
State-Changed-From-To: open->closed 
State-Changed-By: gpalmer 
State-Changed-When: Wed Apr 2 16:24:11 PST 1997 
State-Changed-Why:  
Problem was that he was running into the per-user process limits. 
Solved by raising the limits. 
>Unformatted:
