users@glassfish.java.net

Re: ORB connection leak

From: <glassfish_at_javadesktop.org>
Date: Thu, 12 Mar 2009 13:32:07 PDT

I had an email conversation with Ken Cavanaugh, see below:

> The ORB caches connections, and it will continue to do so until the number of cached
> connections passes the ORB's high water mark: there is no timeout for connections. The default
> value for this is 1024, and you seem to have 758, of which 743 are reported in the Inbound
> connection cache.
> So I would not expect these connections to be closed. IIOP is not like HTTP: IIOP uses very
> long lived connections, and can interleave requests on the same connection.
>
> There is a configuration for max connections in the orb config bean, but I don't know where
> that gets configured (probably somewhere in domain.xml).
>
> The fact that netstat and the statistics disagree does suggest a bug, possibly a connection leak.
> Replacing the ORB connection code is one of the items on my (long) list, but so far it has
> not made it to the top.
>
> Ken.

Thanks Ken !
[Message sent by forum member 'claudio' (claudio)]

http://forums.java.net/jive/thread.jspa?messageID=336736