Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.6.4
-
Fix Version/s: 3.7.0 beta
-
Component/s: Connection Manager, Core
-
Labels:None
-
Acceptance Test - Add?:No
Description
Openfire runs out of memory if unresponsive clients are connected.
Community discussion at http://www.igniterealtime.org/community/message/196900#196900
Issue Links
| This issue is duplicated by: | ||||
| OF-72 | Openfire can't detect broken clients' connections |
|
|
|
I'm wondering if this is related to the fix of
JM-1066. The crux of that issue was moving the MINA idle strategy from BOTH_IDLE to READER_IDLE. The 'both' strategy requires both the reader and writer to be idle. Instead of detecting only reader idle, I think we should detect reader or writer idle.Looking at the MINA code, this appears to be achievable by setting the idle strategy twice: once for READER_IDLE, and once for WRITER_IDLE (which, combined, is significantly different from BOTH_IDLE).
JM-1066. The crux of that issue was moving the MINA idle strategy from BOTH_IDLE to READER_IDLE. The 'both' strategy requires both the reader and writer to be idle. Instead of detecting only reader idle, I think we should detect reader or writer idle. Looking at the MINA code, this appears to be achievable by setting the idle strategy twice: once for READER_IDLE, and once for WRITER_IDLE (which, combined, is significantly different from BOTH_IDLE).