[TYPO3] Lots of open DB connections

Dmitry Dulepov typo3 at fm-world.ru
Thu Feb 16 18:55:45 CET 2006


Hi!

Another Vision wrote:
> I've had a request from tech support at a host who runs a Typo3 3.6 site
> saying that there are lots of DB connections left open, and can I make sure
> the php script/s are dropping the connection...

Strange that it bothers them. Connections will be reused by PHP when
necessary. This question from them does not look very prefessional too me...

Anyway, you can put a code to close connection to the very bottom of
index_ts.php (which index.php on the root level). It should look like:

	mysql_close($TYPO3_DB->link).

and you should check install tool that you do not use persistent
connections. This code is a hack and I do not recommend using it. Leave
it PHP.

Dmitry.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-english mailing list