[TYPO3-dev] Typo3 and persistent connexions

Steffen Kamper info at sk-typo3.de
Mon Feb 28 15:11:53 CET 2011


Hi,

Am 28.02.2011 14:58, schrieb Dmitry Dulepov:
> Hi!
>
> Steffen Kamper wrote:
>> i don't know if it's good to turn it off, i guess it's a performance
>> lose with single connections.
>
> Persistent connections are not good for TYPO3. TYPO3 does not always
> free resources. In case of persistent connections those resources
> continue to live after the current script is ended (I got that
> conclusion by looking at PHP "C" source code). So the more PHP scripts
> are processed, the more memory is leaked. The more memory is leaked, the
> slower the system becomes. So it is best not to use persistent
> connections, especially with such a database hungry script as TYPO3.
>
> If turning persistent connection is not possible (can't imagine why
> thought), one solution is to set a limit on a number of request that
> Apache process handles. But that is not good for high load web sites
> because spawning a new process is an expensive operation.
>

thanks for the info. It's maybe worth to think about changing the 
default, maybe you could talk about in Berlin?

vg Steffen




More information about the TYPO3-dev mailing list