Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] SocketChannelEndpoint memory leak?

Hi,

On Mon, Mar 18, 2024 at 4:20 PM Matthias Pfau via jetty-users
<jetty-users@xxxxxxxxxxx> wrote:
>
> Hi,
> we are on jdk-21 and ran into a memory leak after the upgrade from jetty 11 to jetty 12.0.6.
>
> Around 3.5 hours after server restart 72k instances of SocketChannelEndPoint consume 1GB of RAM.
>
> Around 20 hours after server restart 75k instances of SocketChannelEndPoint consume 18GB of RAM.
> Based on our current observations, the leak only occurs on nodes where we make use of Request#addIdleTimeoutListener and where we have heavy load. Could there be a relation to https://github.com/jetty/jetty.project/issues/10120?

Unlikely.

Please file a new issue and add as many details as possible.
If you can, share the heap dump in the issue.
If you cannot, let's discuss options.

Can you take a Server dump as explained here:
https://eclipse.dev/jetty/documentation/jetty-12/operations-guide/index.html#og-troubleshooting-dump
or here:
https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-troubleshooting-component-dump
and report that in the issue as well.

Thanks!

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top