in reply to Re^6: CGI Perl output cut with xampp
in thread CGI Perl output cut with xampp

When you run the script from the command line, how long does it take before the output is seen ?

You can use a command like:

time perl <script-name>
to get overall execution time.

The message:
70007)The timeout specified has expired
seems to indicate that the apache web server timed-out waiting for the output to be produced.

You could try to set the Timeout directive in httpd.conf, to something like 300 seconds (5 minutes).

See https://httpd.apache.org/docs/2.4/mod/core.html#timeout.

TimeOut Directive Description: Amount of time the server will wait for certain events before failing a request
Syntax: TimeOut seconds
Default: TimeOut 60
Context: server config, virtual host
Status: Core
Module: core
The TimeOut directive defines the length of time Apache httpd will wait for I/O in various circumstances:

When reading data from the client, the length of time to wait for a TCP packet to arrive if the read buffer is empty.
For initial data on a new connection, this directive doesn't take effect until after any configured AcceptFilter has passed the new connection to the server.

        "Software interprets lawyers as damage, and routes around them" - Larry Wall

Replies are listed 'Best First'.
Re^8: CGI Perl output cut with xampp
by toohoo (Beadle) on Sep 05, 2016 at 11:23 UTC

    Hello, thanks for your answer. Please have a look at my other comment. best regards