-1

I am running an Apache Server and I have placed a script to generate a report within the CGI-BIN which I can then start running from link in simple webpage I put together.

The script works no problem. What I have noticed though is that if I attempt to run two or more of the same script through the browser they are queued, i.e. the second will not run until the first is done? I was wondering why this happens and if it is possible to turn it off if necessary,

Thanks

Sam Little
  • 21
  • 4
  • I know of no inherent limitation on the number of CGI requests that can run in parallel - normally Apache forks and execs a new CGI for each request and it should be able to handle many 10s, or 100s of parallel CGIs. I am happy to be proved wrong though... – Mark Setchell Sep 03 '15 at 16:26
  • Is there any configuration that limits the amount of processes that are allowed to run at once? – Sam Little Sep 04 '15 at 09:30
  • It depends on your OS. On Linux/Unix-like systems, you would use some variant of the `ulimit` command, or something like `sysctl -a | grep proc` – Mark Setchell Sep 04 '15 at 09:36

1 Answers1

0

It turns out that it was actually Chrome queueing the requests rather apache.

I tried it on different browsers and it worked fine.

Sam Little
  • 21
  • 4