php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #423 Apache Says [error] (9)Bad file number: Possible PHP3 memory leak detected
Submitted: 1998-06-02 10:42 UTC Modified: 1998-06-06 19:43 UTC
From: dominion at datasync dot com Assigned: rasmus (profile)
Status: Closed Package: Other
PHP Version: 3.0 Release Candidate 5 OS: Linux
Private report: No CVE-ID: None
 [1998-06-02 10:42 UTC] dominion at datasync dot com
I have PHP3 Configured to use postgreSQL 6.3.2 and it is running on
Apache 1.3b7.  As for the script, I'm not sure what's hurting it, but I have
a machine with 128 Megs of RAM and virtually no hits other than my own
for development (I have this running with an older version of Apache 1.3b3
AND Php 3rc4 with a different message, but the same result). After a couple
of days (At first, it was a couple of minutes), I would discover a whole 3 Megs
left free, when normaly, only 8 Megs are in actual use to begin with.

The complete Error is this:

[Mon Jun  1 15:00:28 1998] [error] (9)Bad file number: Possible PHP3 memory leak
 detected (harmless):  1 bytes from functions/post.c:89

The first time I got php3rc5 to run, I failed to compile Apache once first, but since
then, the error message as well as the memory used is a LOT less of a problem, but
it's still happening. I'm afraid this is the most information I can think of to give you, since
the scripts involved are scattered across twenty some files and and somewhere over
100K.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-06-06 19:43 UTC] rasmus
Latest PHP seems to have cleared this problem up.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 07 09:01:28 2024 UTC