Hey all,
Can someone tell me what this thread is? It’s constantly using a very high amount of CPU, if I restart the server it calms down for a week or two and then starts doing it again. I’m guessing it’s something for the UA server? How do I go about figuring out why it’s using so much CPU resources?
Thread [ua-netty-event-loop-0] id=153, (RUNNABLE)
sun.misc.Unsafe.unpark(Native Method)
java.util.concurrent.locks.LockSupport.unpark(LockSupport.java:141)
java.util.concurrent.SynchronousQueue$TransferStack$SNode.tryMatch(SynchronousQueue.java:265)
java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:383)
java.util.concurrent.SynchronousQueue.offer(SynchronousQueue.java:913)
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1361)
org.eclipse.milo.opcua.stack.client.UaTcpStackClient.lambda$sendRequest$8(UaTcpStackClient.java:219)
org.eclipse.milo.opcua.stack.client.UaTcpStackClient$$Lambda$287/1333559766.operationComplete(Unknown Source)
io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:683)
io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:568)
io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:425)
io.netty.channel.AbstractChannel$AbstractUnsafe.safeSetFailure(AbstractChannel.java:847)
io.netty.channel.AbstractChannel$AbstractUnsafe.write(AbstractChannel.java:734)
io.netty.channel.DefaultChannelPipeline$HeadContext.write(DefaultChannelPipeline.java:1304)
io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:619)
io.netty.channel.AbstractChannelHandlerContext.access$1800(AbstractChannelHandlerContext.java:32)
io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:904)
io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:956)
io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:889)
io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
java.lang.Thread.run(Thread.java:745)