Understanding persistent connections with oci8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a follow up to the bug (#39029) that I reported earlier which
has been repeatedly closed as bogus.

The oci8.persistent_timeout setting in the php.ini file is documented as
:
"The maximum length of time (in seconds) that a given process is allowed
to maintain an idle persistent connection. Setting this option to -1
means that idle persistent connections will be maintained forever. "

If I do not want the connection to be persist forever, then by using
this setting, I should be able to ensure that a connection is not idle
for longer than what I specified. However, when I set persistent_timeout
to 10 seconds, I find that the connection is not terminated even after
10 seconds have passed. In fact, it doesn't terminate at all. So the
question is what is the purpose of this setting ? And what does an 'idle
connection' mean ? A google query for 'idle timeout' yields enough
results to point that when the timeout occurs, the idle connection is
terminated.

Obviously there is a bug somewhere. Either in the documentation or in
the behavior. Please advise.

Thanks and Regards,
Kiran

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux