Re: Leaking nioEventLoopGroup threads

2020-08-23 Thread Adam Rossi
This is the latest 0.7.0 release from Maven. Regards Adam > On Aug 23, 2020, at 11:56 AM, Christofer Dutz > wrote: > > Hi Adam, > > which version of PLC4X are you using? I know we had similar reports some time > ago, but had thought we had fixed them > > Chris > > > > Am 23.08.20,

Leaking nioEventLoopGroup threads

2020-08-23 Thread Adam Rossi
Howdy. I am seeing a persistent thread being created for every plcConnection connect which looks like the following: Name: nioEventLoopGroup-11-1 State: RUNNABLE Total blocked: 0 Total waited: 0 Stack trace: java.base@13.0.2/sun.nio.ch.EPoll.wait(Native Method) java.base@13.0.2

Re: Leaking nioEventLoopGroup threads

2020-08-23 Thread Adam Rossi
Sure thing. Is 0.8.0-snapshot hosted anywhere or is that something that needs to be built? Regards Adam > On Aug 23, 2020, at 12:31 PM, Christofer Dutz > wrote: > > Hmm ... > > Could you possibly give 0.8.0-SNAPSHOT a try? or 0.6.x? ... 0.7.0 was > the first of the new generation

Re: Leaking nioEventLoopGroup threads

2020-08-23 Thread Christofer Dutz
Hi Adam, which version of PLC4X are you using? I know we had similar reports some time ago, but had thought we had fixed them Chris Am 23.08.20, 16:40 schrieb "Adam Rossi" : Howdy. I am seeing a persistent thread being created for every plcConnection connect which looks like the

Re: Leaking nioEventLoopGroup threads

2020-08-23 Thread Christofer Dutz
Hi Adam, the Apache SNAPSHOT repo is at: https://repository.apache.org/content/repositories/snapshots Adding this to your pom should help: apache-snapshots https://repository.apache.org/content/repositories/snapshots false true

Re: Leaking nioEventLoopGroup threads

2020-08-23 Thread Christofer Dutz
Hmm ... Could you possibly give 0.8.0-SNAPSHOT a try? or 0.6.x? ... 0.7.0 was the first of the new generation drivers. We're maintaining the 0.6 branch and working hard on making the new generation drivers 100% production ready. Chris Am 23.08.20, 18:06 schrieb "Adam Rossi" :

Re: Leaking nioEventLoopGroup threads

2020-08-23 Thread Adam Rossi
Thanks, I did test with 0.8.0-SNAPSHOT and see the same behavior. In every plcConnection a nioEventLoopGroup thread is created and does not ever seem to be destroyed. I wish I understood the io.netty.channel.EventLoopGroup class better to be more helpful here. Would an example program that

Re: Leaking nioEventLoopGroup threads

2020-08-23 Thread Christofer Dutz
Hi Adam, of course that's unfortunate ... also I will not be able to address this issue soon as I have to work on the tasks of my research project. I have one more month to work on this and I'm months behind schedule because I have been doing free support way too much lately. I really hope