We're using the open fire 3.7.1 code base and what we are encountering is that open fire runs out of memory due to http sessions not getting cleaned up. Upon examining the heap dump, there were 1 GB of HttpSession objects where the majority of the memory is taken up by HttpSession Deliverable objects filling up the pendingElements array list which represents events that should be published to this http session and user but are unable to be delivered.
Upon further inspection, the HttpSession that had the largest share of memory had to last activity value about two weeks prior to the OOM, which is way longer than the 30 second inactivity timeout that should cause the HttpSession Reaper to clean up that session.
Has anybody encountered such behavior where zombie sessions are not getting cleaned up?
Thanks,
Conrad