ID: 40720 Updated by: [EMAIL PROTECTED] Reported By: soadlink at gmail dot com -Status: Open +Status: Bogus Bug Type: Performance problem Operating System: Ubuntu 6.10 PHP Version: 5.2.1 New Comment:
. Previous Comments: ------------------------------------------------------------------------ [2007-03-05 11:08:01] soadlink at gmail dot com >Because your windows machine has more RAM? Just as I figured, you obviously didn't read my first post entirely, and have little clue what I was talking about... which is why I was repeating myself. >Because the script doesn't actually work? Actually it works just fine on Windows. Ubuntu is where I have the problems. What's that the 3rd time I've said that now? >Because it works differently? Really? Gee I didn't notice that. /sarcasm Anyways forget it. Don't even bother helping. ------------------------------------------------------------------------ [2007-03-05 11:02:17] [EMAIL PROTECTED] >Then why does Windows handle plenty of instances just fine? Because your windows machine has more RAM? Because the script doesn't actually work? Because it works differently? I don't think I can tell you which of these is true. ------------------------------------------------------------------------ [2007-03-05 10:54:05] soadlink at gmail dot com >If each instance takes say 100Mb to run, then it's quite expected that >10 instances running in the same time would take ~1Gb and make the >machine to swap. Then why does Windows handle plenty of instances just fine? I am trying to get the Linux machine to handle the script instances the same way Windows did. Linux lags after 1 or 2. Windows doesn't lag even with 8-12 running at once. Is there something inside Windows itself that is handling it better than in Linux, or something in PHP I can change? ------------------------------------------------------------------------ [2007-03-05 10:46:20] [EMAIL PROTECTED] >Yes. Ok, so that's not a real problem then. >And when I increase the memory limit on Ubuntu to match this the >script runs, but more than 1-2 instances of it running causes the >machines memory usage to go very high and slow the performance of >everything (including the script). If each instance takes say 100Mb to run, then it's quite expected that 10 instances running in the same time would take ~1Gb and make the machine to swap. ------------------------------------------------------------------------ [2007-03-05 10:38:38] soadlink at gmail dot com >Well, must likely on Windows you're using default php.ini with memory_limit = 128M Yes. And when I increase the memory limit on Ubuntu to match this the script runs, but more than 1-2 instances of it running causes the machines memory usage to go very high and slow the performance of everything (including the script). It doesn't do this in Windows XP Pro SP2 though. I can have plenty of instances running when that OS is installed with no problems. >The code is quite useless, since we apparently cannot run it without the "c:\\list.txt". 395000 line test file took 20 seconds to make - http://zero-labs.net/list.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40720 -- Edit this bug report at http://bugs.php.net/?id=40720&edit=1