"timfox" wrote :
| Does this mean that if I create a core session, close it properly and exit, the server
side remoting connection won't be closed until TTL?
|
Yes, that's the case.
We talked about it in IRC
(
http://www.antwerkz.com/javabot/javabot/home/3/%23jbossmessaging/2/29/1/0...)
| <jmesnil> there are a few failing tests which expects the server resources
| to be cleaned up immediately after the connection is closed.
| but now I've to wait for the connection TTL [11:12]
| <jmesnil> this can lead to resources congestion: a "unclean" client
which
| never closes its connection will leave resources on the server
| for 5 minutes for each connection [11:12]
| <jbossfox> jmesnil: well.. resources should normally be cleaned up
| immediately since, a good client should close its connections
|
If we want to close server resources immediately when we're notified that the
connection is destroyed, we must first know if the connection was closed properly or not.
To know for sure the connection is closed properly, the client should send a LAST packet,
the connection should be closed from the server and the client be disconnected.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228227#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...