Bug #18347 Updated: ibase_pconnect() spawn connections to InterBase
| From: | sniper@php.net | Date: | Tue, 16 Jul 2002 00:23:11 +0000 |
| Subject: | Bug #18347 Updated: ibase_pconnect() spawn connections to InterBase | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14254@lists.php.net to get a copy of this message | ||
ID: 18347
Updated by: sniper@php.net
Reported By: michael@mediacom.ru
-Status: Open
+Status: Feedback
Bug Type: InterBase related
Operating System: nt4 sp6a
PHP Version: 4.2.1
New Comment:
The persistent connection does not mean that you have ONE single
connection to the database, but you have one connection from each httpd
child. Are you sure this is not what is happening? ie. if the child you
hit does not have the connection established yet, it will be created.
Previous Comments:
------------------------------------------------------------------------
[2002-07-15 08:15:44] michael@mediacom.ru
Settings for interbase in php.ini? Noting. I didn't found description
for those in PHP Manual.
Interbase is not closing connection - thay are not closing. PHP spawned
new connections in ibase_pconnect() function, when there are available
persistent connections.
------------------------------------------------------------------------
[2002-07-15 06:27:22] sniper@php.net
What settings you have for interbase in php.ini?
Are you sure it's not interbase closing the connection?
Check it's settings too..
------------------------------------------------------------------------
[2002-07-15 04:43:13] michael@mediacom.ru
My script calls ibase_pconnect("127.0.0.1:/Database/test.gdb",
"SYSDBA", "masterkey"). I expected that php reuse persistent connection
to InterBase. But if time from last script executing is over 15 seconds
- php spawn new InterBase connection.
------------------------------------------------------------------------
[2002-07-15 03:57:01] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-07-15 03:54:54] michael@mediacom.ru
When I use script with ibase_pconnect(), it spawn InterBase
connections, if period of http requests over approx. 15 seconds.
I use php4apache.dll with Apache 1.3.22(win32) InterBase(Firebird 1.0)
build 796
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18347&edit=1