#21713 [Asn->Fbk]: include (URL) doesn't remove temporary files
| From: | wez@php.net | Date: | Sat, 22 Feb 2003 02:45:15 +0000 |
| Subject: | #21713 [Asn->Fbk]: include (URL) doesn't remove temporary files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33892@lists.php.net to get a copy of this message | ||
ID: 21713
Updated by: wez@php.net
Reported By: czuma at poland dot org
-Status: Assigned
+Status: Feedback
Bug Type: *Directory/Filesystem functions
Operating System: Solaris 8
PHP Version: 4.3.0
Assigned To: wez
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Please try the next stable snapshot.
Previous Comments:
------------------------------------------------------------------------
[2003-02-05 16:24:44] sfox at carleton dot edu
I've run into this as well since upgrading from 4.2.1 to 4.3 under
Solaris 8/Apache.
It only happens when an include is processed that refers to a file that
does NOT exist. Every time this happens a file named php???? is left
behind in /var/tmp using up a file handle.
2 errors are logged. For example:
[error] PHP Warning: main(left_menu.php) [<a href='h
ttp://www.php.net/function.main'>function.main</a>]: failed to create
stream: No such file or directory in.......
[error] PHP Warning: main() [<a href='http://www.php
.net/function.main'>function.main</a>]: Failed opening 'left_menu.php'
for inclusion (include_path='.:/home/www/code') in......
------------------------------------------------------------------------
[2003-01-17 19:29:12] wez@php.net
Let's keep this one open until I verify it; I have reason to believe
that this is a valid problem.
------------------------------------------------------------------------
[2003-01-17 19:27:43] sniper@php.net
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.
------------------------------------------------------------------------
[2003-01-17 12:47:23] czuma at poland dot org
include("URL") doesn't remove temporary files in /var/tmp
PHP creates /var/tmp/php?????? files until...
ufs: [ID 682040 kern.notice] NOTICE: /var: out of inodes
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21713&edit=1