Re: Re: Understanding persistent connections with oci8
| From: | Roman Neuhauser | Date: | Thu, 12 Oct 2006 01:25:27 +0000 |
| Subject: | Re: Re: Understanding persistent connections with oci8 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243008@lists.php.net to get a copy of this message | ||
# jay.bauer@hp.com / 2006-10-11 16:42:06 -0400:
> And actually, Kiran in our lab proposed that as a very easy fix to
> implement, and we've tested it and it works fine. In other words we
> make 50 persistent connections, with the timeout at 10 seconds, wait a
> minute and then make another round of the same php requests. With the
> fix we proposed all new php connections are made. So we know this
> works. I think if this was implemented and the documentation was clear
> that what the persistent timeout provided was for these connections to
> be shutdown when every a new connection tried to use them, PHP or not,
> that would go along way to satisfying most customers. Especially if it
> clearly and cleanly documented that was how it worked.
That's not so much a fix as a different behavior. FWIW the current
one is perfectly sensible in other circumstances.
Is there a way to query the age of the connection?
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991