Bug #18347 Updated: ibase_pconnect() spawn connections to InterBase
| From: | michael at mediacom dot ru | Date: | Tue, 16 Jul 2002 06:04:03 +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-14286@lists.php.net to get a copy of this message | ||
ID: 18347
Updated by: michael@mediacom.ru
Reported By: michael@mediacom.ru
-Status: Feedback
+Status: Closed
Bug Type: InterBase related
Operating System: nt4 sp6a
PHP Version: 4.2.1
New Comment:
Yes! You almost right.
I have looked in httpd.conf and understood that reason in settings of
KeepAlive (KeepAliveTimeout & ThreadsPerChild) of my Apache server.
Thank for support.
Previous Comments:
------------------------------------------------------------------------
[2002-07-15 20:23:10] sniper@php.net
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.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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/18347
--
Edit this bug report at http://bugs.php.net/?id=18347&edit=1