php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22827 stat failed- system performance
Submitted: 2003-03-22 10:55 UTC Modified: 2003-03-22 18:33 UTC
From: project dot draco at gmx dot net Assigned:
Status: Closed Package: *Directory/Filesystem functions
PHP Version: 4.3.1 OS: win98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: project dot draco at gmx dot net
New email:
PHP Version: OS:

 

 [2003-03-22 10:55 UTC] project dot draco at gmx dot net
On lots of filesystem-functions you get the well known warning
stat failed on xyz (errno 2- no such file..) etc.
It occurs with non-existent files and remote-url in general.

I know, that we can turn this of (errorreporting=0) but if you look at google (just type in stat failed php) you get 
HUNDREDS of them, so whats going on ther, he?

Furthermore, this mysterious stat seems to leed to an performance loss. 
I detected this on my web page, where i use a heavy cms-like script, and my sysmin changed (without notice, like they always do) from 4.0.6 to 4.3.1
The same page, that ran prior in 0.8 secs now took up to 3-4 secs. The serverload did NOT increase meanwhile!

I reproduced a similar behavior on my development system at home, where the performance loss was less, but clearly visible (about 10-20% exec.time)

So it seems, this does not depend on System, Config or so on (we talk about two VERY different environments - the one is freebsd, the other win98) 


Whats going on with this behaviour???

thx

mir

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-22 18:33 UTC] sniper@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 04:01:30 2024 UTC