I have the following problem: when executing very simple PHP scripts, for example. this:
<?php echo "1"; sleep(10); echo "2"; ?>
and open it on several tabs at the same time, the first tab ends after 10 seconds, but the seconds wait 20 seconds instead of 10, so I assume that the requests are βqueuedβ in some way. Any ideas how to get them to execute in parallel?
The configuration is as follows: LAMP stack, Ubuntu 10.10 64bit; Apache / 2.2.14 (Unix) DAV / 2 mod_ssl / 2.2.14 OpenSSL / 0.9.8l PHP / 5.3.1 mod_apreq2-20090110 / 2.7.1 mod_perl / 2.0.4 Perl / v5.10.1
I added
KeepAlive On MaxKeepAliveRequests 0 MaxClients 512 MaxRequestsPerChild 100000
in httpd.conf, but also, this is the default httpd.conf that comes with the lamp
source share