I have just tried a small script to make the website busy by a small for loop . The code is attached below. I use a browser to trigger the server to run the script. for example: http://www.abc.com/Index/test
After that, I cannot access other pages such as http://www.abc.com/Index , the correct wordings should be, it just KEEP LOADING !!!~~. However, if I access image file inside the server, it WORKS !!!
for example: http://www.abc.com/img/abc.jpg
After the server has finished running the for loop, all pages come out as well.
In the same server, I tried another website inside the same virtual hosting, such as http://www.bcd.com
It WORKS and no need to WAIT !!!
Is there any one here know the reason? And how to solve the problem?
THANKS !!!!!
<?PHP
require_once 'PHP_CON/PC_Action.php';
class TestAction extends PC_Zend_Controller_Action
{
public function main()
{
for ($i = 0; $i < 60; $i++)
{
sleep(1);
echo(".");
}
}
}

