[redland-dev] MySQL Free Connections

Dave Beckett dave.beckett at bristol.ac.uk
Fri Aug 5 16:59:41 BST 2005


On Fri, 2005-08-05 at 17:04 +0200, Sebastian Dietzold wrote:
> Hi there, i use the php bindings of redland 1.0.2 and my problem is that 
> there are up to 5 connections created each time i http-request a script. 
> these conns are not closed after the request so its easy possible to dos 
> every mysql-db.
> 
> i've seen this topic is not new but two it was solved by a patch file 
> which is now out of date.

It's applied to redland 1.0.2 as far as I know.

> it is possible to prevent this or is there a work-around?

Your script frees the librdf_model and librdf_storage it uses?
It's the latter that'll will close the connection.

Dave




More information about the redland-dev mailing list