Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Zend Framework Performance Issue

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Zend Framework Performance Issue

Postby marquix » Wed Feb 13, 2013 2:36 am

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(".");
}
}

}
marquix
New php-forum User
New php-forum User
 
Posts: 2
Joined: Wed Feb 13, 2013 2:35 am

Re: Zend Framework Performance Issue

Postby marquix » Wed Feb 13, 2013 4:50 am

Problem solved... ...
The setting has no problem,
just Chrome blocked the second tab to browse the website ..
marquix
New php-forum User
New php-forum User
 
Posts: 2
Joined: Wed Feb 13, 2013 2:35 am


Return to PHP coding => General

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.