#29652 [Opn->Fbk]: number of FD to ocius.msg is growing

From: Date: Fri, 13 Aug 2004 15:36:13 +0000
Subject: #29652 [Opn->Fbk]: number of FD to ocius.msg is growing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-64557@lists.php.net to get a copy of this message
ID: 29652 Updated by: tony2001@php.net Reported By: yannick at agl dot fr -Status: Open +Status: Feedback Bug Type: OCI8 related Operating System: Linux Redhat 7.3 PHP Version: 4.3.7 New Comment: Does it grow constantly or it stops after reaching the number of apache childs? Can you please try the same with OCINLogon ? Btw, ocilogoff() does nothing for a long time (connections are closed by Oracle after a timeout). Previous Comments: ------------------------------------------------------------------------ [2004-08-13 15:54:06] yannick at agl dot fr 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 this bug report at http://bugs.php.net/?id=29652&edit=1

« previous php.bugs (#64557) next »