From: yannick at agl dot fr
Operating system: Linux Redhat 7.3
PHP version: 4.3.7
PHP Bug Type: OCI8 related
Bug description: number of FD to ocius.msg is growing
Description:
------------
i see the number of file descriptor to ocius.msg is growing for each
apache child. so i reproduce problem with this script.
Reproduce code:
---------------
<?
while (1) {
$conn=OCILogon($username,$password,$database);
$stmt=OCIParse($conn,"select 50 as toto from dual");
OCIDefineByName($stmt,"TOTO",&$total);
OCIExecute($stmt);
OCIFetch($stmt);
echo ":::$total:::\n";
OCILogoff($conn);
OCILogoff($conn);
sleep(10);
}
?>
Expected result:
----------------
1 file descriptor to ocius.msg
1 connection to database
Actual result:
--------------
the number of file descriptor to ocius.msg is growing.
1 connection to database
--
Edit bug report at http://bugs.php.net/?id=29652&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29652&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29652&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29652&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29652&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29652&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29652&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29652&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29652&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29652&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29652&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29652&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29652&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29652&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29652&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29652&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29652&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29652&r=float