Re: Orphan connections...

Tobias Downer <[email protected]>
Newsgroups gmane.comp.db.mckoi
Message-ID <[email protected]>
Mckoi should periodically send a 'ping' command to the client to check 
if the connection is alive, and if it the command fails it reclaims all 
resources associated with the connection.  It may be that the client 
entry is not being removed from the internal list which is why it's 
showing up in 'show connections'.  There is a test in our test suite 
that opens and closes many hundreds of connections and we have not 
detected a memory leak.  Regardless, I will look into it.

Toby.


[email protected] wrote:
> Toby, is there any way to kill orphan connections? I have observed (using
> mckoi 1.0.3) that when the client dies unexpectedly, McKoi retains the
> client connections, even for days, which I suppose must consume resources.
> I have detected these connections using "show connections". I think that
> providing a "connection-idle-timeout" parameter in db.conf would solve
> this problem.
> 
> In my case the client is a servlet engine using a connection pool (resin
> 2.1.14).
> 
> Best regards,
> Martin


---------------------------------------------------------------
Mckoi SQL Database mailing list  http://www.mckoi.com/database/
To unsubscribe, send a message to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.