we are trying to do some debugging in single server mode, but we have problems.
We tried running the httpd daemon from the command line:
> .../apache/bin/httpd -X &
or configuring the http.conf like this:
MinSpareServers 1
MaxSpareServers 0
StartServers 1
MaxClients 1
and starting the server normally with
> .../apache/bin/apachectl start
In both cases we have the same problem:
The CGI runs up to a certain point and then stops, like waiting
for something
(we can follow this with tail -f .../error_log), the browser waits
for
more data to come (that will never come).
But if we press STOP on the browser,
the CGI resumes/continues to run and goes to the end.
It seems that this happens only if the CGI is doing a considerable
amount of work,
if it ends quickly we don't have problems.
It also looks like it always stops on a print statement, maybe
there is some
problem flushing the buffer.
Any idea about what is wrong here?
Thanks,
Giacomo