ID:               22721
 User updated by:  shawn at rumental dot com
 Reported By:      shawn at rumental dot com
-Status:           Closed
+Status:           Open
 Bug Type:         Performance problem
 Operating System: win2k
 PHP Version:      4.3.1
 Assigned To:      wez
 New Comment:

BIG PROBLEM!
it seems as though opened files via file()
are staying open and preventing service from openeing new files giving
errors.

I checked this with sysineternals utility called handle


Previous Comments:
------------------------------------------------------------------------

[2003-03-19 19:11:26] shawn at rumental dot com

Benchmarking PHP 4.3.2-RC
Testing file() with 10 iterations with file size: 4096226
file_test(10): 0.8426 secs

WORKS GREAT !

------------------------------------------------------------------------

[2003-03-18 19:47:18] shawn at rumental dot com

woooaahhh lots of warnings in that compile log.
think ill have to wait.
thx will test tomorrow

------------------------------------------------------------------------

[2003-03-18 19:44:50] shawn at rumental dot com

Benchmarking PHP 4.2.2
Testing file() with 10 iterations with file size: 4096226
file_test(10): 0.7458 secs

Benchmarking PHP 4.3.2-RC
Testing file() with 10 iterations with file size: 4096226
file_test(10): 13.5399 secs

------------------------------------------------------------------------

[2003-03-18 19:39:06] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

Thanks for testing this; one line of the old code was accidentally left
in the 4.3 branch; human error (mine).

I've tested this using PHP 4.3; benchmarked at 4 seconds (using same
script and file as mentioned previously).

The next snapshot will have the fix.

------------------------------------------------------------------------

[2003-03-18 19:14:00] shawn at rumental dot com

latest win32 Stable (4.3.x-dev)
Built On: Mar 18, 2003 17:30 GMT
http://snaps.php.net/win32/php4-win32-STABLE-200303181730.zip
still yields the same results as before. no change

although Latest CVS (5.0.x-dev) is fast as shit.

------------------------------------------------------------------------

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/22721

-- 
Edit this bug report at http://bugs.php.net/?id=22721&edit=1

Reply via email to