[jboss-jira] [JBoss JIRA] Created: (JBREM-625) MicroSocketClientInvoker should decrement count of used sockets when a socket is discarded.
Ron Sigal (JIRA)
jira-events at jboss.com
Thu Nov 2 23:01:41 EST 2006
MicroSocketClientInvoker should decrement count of used sockets when a socket is discarded.
-------------------------------------------------------------------------------------------
Key: JBREM-625
URL: http://jira.jboss.com/jira/browse/JBREM-625
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.2.0.Alpha3 (Bluto)
Reporter: Ron Sigal
Assigned To: Ron Sigal
Fix For: 2.2.0.Alpha3 (Bluto)
MicroSocketClientInvoker keeps a counter, usedPooled, of sockets currently in use. When a new socket is created, or when a socket is taken from the socket pool for reuse, usedPooled is incremented, and when the socket is returned to the pool, usedPooled is decremented. However, if a socket experiences a failure (e.g., timeout), the socket is discarded but usedPooled is not decremented. Eventually, usedPooled can reach its maximum value with no working sockets and no possibility of creating new ones.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list