Re: [akka-user][deprecated] Re: Akka SSLSession leak when running Akka with native TLS

2018-11-30 Thread Patrik Nordwall
You're welcome. On Fri, Nov 30, 2018 at 1:41 PM Sean Gibbons wrote: > Thanks for the response Patrik, we have tested with a smaller heap size > and it appears our applications memory does remain stable with no > appearance of a leak. > I believe the reason we were seeing our instances fail was a

Re: [akka-user][deprecated] Re: Akka SSLSession leak when running Akka with native TLS

2018-11-30 Thread Sean Gibbons
Thanks for the response Patrik, we have tested with a smaller heap size and it appears our applications memory does remain stable with no appearance of a leak. I believe the reason we were seeing our instances fail was actually due to setting the heap size too large and our instances were usin

Re: [akka-user][deprecated] Re: Akka SSLSession leak when running Akka with native TLS

2018-11-27 Thread Patrik Nordwall
Hi Sean, I tried your sample app and ran 20 clients as you described. Attached profiler and looked at memory snapshot. There are a few thousand SSLSessionImpl objects but most of them are not strong reachable, so they will be garbage collected when needed. To be convinced you can try to run with

Re: [akka-user][deprecated] Re: Akka SSLSession leak when running Akka with native TLS

2018-11-22 Thread Johannes Rudolph
I see. Thanks. With the provided code I couldn't reproduce the issue at least in the quick tests I did. Could you run jmap -histo:live on the command line when some memory has accrued and send the output here (or in private)? Johannes On Thu, Nov 22, 2018 at 1:16 PM Sean Gibbons wrote: > An

[akka-user][deprecated] Re: Akka SSLSession leak when running Akka with native TLS

2018-11-22 Thread Sean Gibbons
And by native TLS I just mean a standard TLS AKKA Server, apologies for any confusion. -- __ Séanadh Ríomhphoist/_ Email Disclaimer__ ** Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin é. Is féidir tuilleadh a léamh anseo.

[akka-user][deprecated] Re: Akka SSLSession leak when running Akka with native TLS

2018-11-22 Thread Sean Gibbons
Just to clarify by non-native TLS I meant to say "no TLS" i.e. simply an insecure AKKA server. -- __ Séanadh Ríomhphoist/_ Email Disclaimer__ ** Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin é. Is féidir tuilleadh a léamh anse

[akka-user][deprecated] Re: Akka SSLSession leak when running Akka with native TLS

2018-11-22 Thread Sean Gibbons
Hi Johannes thanks for the reply, I used the example code for both the native and non-native TLS Akka servers. In the case of the non-native TLS server setup I simply changed the Http.bind() method to not include the setupTls parameter e.g. *Http().bindAndHandle(routes, "0.0.0.0", 17715)* --

[akka-user][deprecated] Re: Akka SSLSession leak when running Akka with native TLS

2018-11-22 Thread johannes . rudolph
Hi Sean, thanks for the comprehensive report. What do you mean with a native vs non-native TLS server? Is the example app for the "native TLS" server? Johannes On Wednesday, November 21, 2018 at 6:26:09 PM UTC+1, Sean Gibbons wrote: > > Hi all, > > I have been working with a native TLS Akka HTT