RE: [PHP] CPU usage @5% during 2 minutes

From: Date: Tue, 19 Oct 2004 22:19:00 +0000
Subject: RE: [PHP] CPU usage @5% during 2 minutes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-199833@lists.php.net to get a copy of this message
> >How any rows are you pulling from the database? > aprrox. 12.000 but there are only around 50-100 new rows at a maximum > within a day, and there were almost as many before the > problem appeared. You're creating a form with over 12,000 options in a select statement? > > > >What's the very last part of the code: .$_OR?> > > There is a switch, some echoes and a db_close; Maybe the ._OR at the end of your echo is just a copy / paste issue. > >Have you tried this code in a separate script to test it's > performance > >individually? > Yes, then it performs good. > This seems to be strange and irrelevant to me, because placing a > $tmpsting .= microtime()."<br>\n"; into each loop and then echoing it > shows, that there are randomly processing gaps between two cycles when > running as a part of the whole. Have you tried to increase the amount of memory available to this script? -Ed

« previous php.general (#199833) next »