I am seeing this in 9.2.11 but I also saw this in 9.3.0. I do see sessions
closing and removed but I am seeing a leak where my embedded jetty engine
will die on a OOM after about 12 hours of heave use in production. If there
is anything I could do or provide please let me know. I was even thinking
of recompiling the websocket jar exposing the openSessions so I could
attempt to introspect the sessions.

Alex

On Tue, Aug 11, 2015 at 3:26 PM, Joakim Erdfelt <[email protected]> wrote:

> Sounds like a bug.
> What version of Jetty are you using?
>
> Joakim Erdfelt / [email protected]
>
> On Tue, Aug 11, 2015 at 12:02 PM, Mack Gerhardt <[email protected]>
> wrote:
>
>> I am experiencing an issue with a leak of WebSocketSession objects. I
>> believe I might not be closing down sessions properly. I was using the
>> plumbr.eu tool and it detected the following. Any ideas of what should I
>> look for.
>>
>>
>> At the time the leak was detected, 30724 objects existed of class
>>
>> org.eclipse.jetty.websocket.common.WebSocketSession
>>
>> These objects had been created at
>>
>> org.eclipse.jetty.websocket.common.WebSocketSessionFactory.createSession(java.net.URI,
>> org.eclipse.jetty.websocket.common.events.EventDriver,
>> org.eclipse.jetty.websocket.common.LogicalConnection):48
>>
>> and were being held
>>
>> in array of java.util.concurrent.CopyOnWriteArrayList
>>
>>   in al of java.util.concurrent.CopyOnWriteArraySet
>>
>>     in openSessions of
>> org.eclipse.jetty.websocket.server.WebSocketServerFactory
>>
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to