[nycphp-talk] PHP and MySQL Connections
Randal Rust
randalrust at gmail.com
Sun Apr 20 12:59:16 EDT 2008
On Sun, Apr 20, 2008 at 12:49 PM, David Krings <ramons at gmx.net> wrote:
> I am by no means an expert, by I always close the connections explicitly.
> My understanding is that the connection gets closed eventually, but by MySQL
> itself after a time out period.
OK, that makes sense. I didn't want to do that just yet, because
things have been running fairly well since I ditched persistent
connections.
The curious thing is that MySQL doesn't seem to be cleaning them up. I
checked last night, and there were some threads that had been in sleep
for more than 7,000 (seconds?).
--
Randal Rust
R.Squared Communications
www.r2communications.com
More information about the talk
mailing list