I have recently upgraded to Apache 1.3.20 from a working Apache 1.3.14
installation and there seems to be a problem with cgi-bin execution. What
appears to occur is that scripts are executing, but the output is not
getting through Apache 1.3.20 and back to the browser. A process listing
shows the CGI script "hanging" in the process table. After a short time,
the server becomes overloaded with script processes and the Apache process
has to be stopped and restarted. A simple "apachectl restart" doesn't do it
- it has to be killed and restarted entirely.
The script I am having a problem with does not use file locking or even
writing to a file, so it's not that. Basically, the script I have is a Perl
script that processes a form and reads another file to send back to the
browser. Sometimes it works and data gets back, sometimes not. For each
failure, a stuck CGI process happens. This issue does not happen with
Apache 1.3.14, so it's a problem with Apache 1.3.20, not the script.
I can't be the only person having this problem. Although I have downgraded
back to Apache 1.3.14 to fix the problem I would like to be using the latest
release. I also thought a few other people might like to know that there
appears to be a problem. I'm using RedHat 6.2 and compiled my own Apache,
so I am not using an RPM that might be geeked. Ideas anyone?
Jon Yarden, System Administrator, BluegrassNet
Nearly every complex solution to a programming problem that I
have looked at carefully has turned out to be wrong.
-- Brent Welch