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




--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Performance-tuning-tp4659145.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to