You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jim McNealy <sa...@wnt.sas.com> on 1997/12/19 22:34:49 UTC

os-windows/1577: Apache runs up handles as NT service

>Number:         1577
>Category:       os-windows
>Synopsis:       Apache runs up handles as NT service
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Dec 19 13:40:00 PST 1997
>Last-Modified:
>Originator:     sasjcm@wnt.sas.com
>Organization:
apache
>Release:        1.3b3
>Environment:
Windows NT 4.0 Workstation (Build 1381 Service Pack 3)
Visual C++ 5.0
Dell GXpro 200 mhz, 64m ram
>Description:
Running Perl simple perl script caused Apache to run up the handles, as seen in the Task Manager. Stopping and starting the service did not clear the handles, but soft booting the workstation does clear the problem. I can still run executables from my cgi directory. It's just the Perl scripts that give an internal server error.
>How-To-Repeat:
This is the Perl script.
#!d:/Perl 5.001/Perl.exe
print "Content-type: text/html", "\n\n";

print "<HTML>",  "\n";
print "<HEAD><TITLE>About Server ", $ENV{'SERVER_NAME'}, ":", $ENV{'SERVER_PORT'},  "</TITLE></HEAD>", "\n";
print "<BODY><H1>About Server ", $ENV{'SERVER_NAME'}, ":", $ENV{'SERVER_PORT'},   "</H1>", "\n";
print "<HR><PRE>";
print "Server Name:         	", $ENV{'SERVER_NAME'}, "<BR>", "\n";
print "Running on Port:  	", $ENV{'SERVER_PORT'}, "<BR>", "\n";
print "Server Software:    	", $ENV{'SERVER_SOFTWARE'}, "<BR>", "\n";
print "Server Protocol:     	", $ENV{'SERVER_PROTOCOL'}, "<BR>", "\n";
print "Server CGI Revision:	", $ENV{'GATEWAY_INTERFACE'}, "<BR>", "\n";
print "Remote User Id:	      ", $ENV{'REMOTE_USER'}, "<BR>", "\n";
print "Remote Host:	      ", $ENV{'REMOTE_HOST'}, "<BR>", "\n";
print "Remote Address:	      ", $ENV{'REMOTE_ADDR'}, "<BR>", "\n";
print "Authentication Type:   ", $ENV{'AUTH_TYPE'}, "<BR>", "\n";
print "Refering Site:         ", $ENV{'HTTP_REFERER'}, "<BR>", "\n";
print "<HR></PRE>", "\n";
print "</BODY></HTML>", "\n";

exit(0);
>Fix:
No, I don't. Sorry
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]