NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP and MySQL Connections

Randal Rust randalrust at gmail.com
Sun Apr 20 12:43:18 EDT 2008


On Mon, Apr 14, 2008 at 11:13 AM, Daniel Convissor
<danielc at analysisandsolutions.com> wrote:

>  close() is called during PHP's cleanup process that happens at the
>  end of script execution.

OK, so if I don't have to *explicitly* tell the process to close, then
why do I keep getting a lot of threads that are Sleeping? And for a
long period of time? This is what is causing the slowdown on the
server. If I manually go into the DB and kill threads that have been
sleeping for a long time, then the system speeds back up.

-- 
Randal Rust
R.Squared Communications
www.r2communications.com



More information about the talk mailing list