ID: 36634 User updated by: zhang_yinshu at yahoo dot com Reported By: zhang_yinshu at yahoo dot com Status: Bogus Bug Type: OCI8 related Operating System: Gentoo Linux PHP Version: 5.1.2 New Comment:
OMG, I was such a fool, I didnt wait 60sec. after that script use the connection, ....oh, wait, i did wait. Actually no matter how long i wait, connection hungup there as idel. Previous Comments: ------------------------------------------------------------------------ [2006-03-07 08:38:07] [EMAIL PROTECTED] oci_pconnect() means you're using these connections in a script, so they do not timeout because of that. No bug here. ------------------------------------------------------------------------ [2006-03-06 21:27:28] zhang_yinshu at yahoo dot com a test script of course, use class: <? include ('db.class.php'); $db=new db('xxxxx','xxxx','xxxxxx'); $db->query("select * from tab"); echo $db->to_string(); ?> part of db.class.php: function db_open($user,$pass,$db) { if (!$this -> _connection = oci_pconnect($user,$pass,$db)) { err ("Can not open database connection user:$user,db:$db, error:".print_r(ocierror())); $this->__destruct(); } } ------------------------------------------------------------------------ [2006-03-06 21:16:45] [EMAIL PROTECTED] And you don't run any PHP scripts in the same time? ------------------------------------------------------------------------ [2006-03-06 21:08:43] zhang_yinshu at yahoo dot com by query v$session view from Oracle database ------------------------------------------------------------------------ [2006-03-06 21:06:23] [EMAIL PROTECTED] How do you determine if they are "inactive" or not? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/36634 -- Edit this bug report at http://bugs.php.net/?id=36634&edit=1