ID: 28398 Updated by: [EMAIL PROTECTED] Reported By: bheam at online dot no -Status: Open +Status: Bogus Bug Type: Performance problem Operating System: linux fedora core 1 PHP Version: 4.3.6 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Sounds like a configuration issue on your end, can't reproduce. Previous Comments: ------------------------------------------------------------------------ [2004-05-14 14:35:51] bheam at online dot no The reproduction code might not be relevant since there seems to be some weird type of output buffering on the box. (might be the sshd) another thing to note is that the cpu usage is usually around 5% when said problems are occuring. (it really seems like it's processing a sleep(5) :p ) delays vary from 0.1sec to 5sec (even more a couple times) ------------------------------------------------------------------------ [2004-05-14 14:21:16] bheam at online dot no Description: ------------ I'm developing a publishing tool with php, but am having trouble after i switched server. Old configuration: P3 800mhz 512mb ram New configuration p4 2.8 x 2 512mb ram s-ata disks, raid both systems run: php-4.3.3 apache-2.0.47 mysql-4.0.13 (not relevant) also upgraded to php-4.3.6 on p4 without any change. On the new system, the php code seems to be pausing at random places (have been inserting error_log calls at certain points in code) for example it suddenly spent 4 seconds between 2 error_log that only had a echo() command in between. I made a simple loop that echo("."), and it's smooth on the p3, but it's choppy and pauses every now and then on the 2xP4. i also made a similar program in c++ and it runs smooth (to prove it's not network) i've executed the .php with php -q, proving it's not apache. Reproduce code: --------------- for ($cnt = 0; $cnt < 30000; $cnt++) { for ($ca = 0;$ca < 100; $ca++) { $a = $a * 3; $a = $a + 1; $a = $a / 3; } echo("."); } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28398&edit=1
