I have a Perl script that does calculations. When I run it through a command prompt, this is done in 0.53 seconds. But when I run the same script on Apache / CGI, it hangs. There is probably a problem of parameters. Maybe there is not enough memory, although I do not see any limit in httpd.conf.
Operating System: Windows Server 2012, Apache 2.4. I have been watching the newspapers, but there is no mistake. The script runs correctly on Apache if the number of calculations is small. How can I debug, what to look for?