Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9667

NettyServerTCPWorker warnings in eventd.log

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 21.0.0
    • Fix Version/s: 21.1.0
    • Component/s: Eventd
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Sprint:
      Horizon - Feb 21st 2018, Horizon - March 14th 2018, Horizon - March 21st 2018

      Description

      I noticed the following warnings started showing up in eventd.log. These appear to be related to the eventd tcp connector changes from HZN-1110.

      2017-10-05 15:49:11,562 WARN  [Camel Thread #38 - NettyServerTCPWorker] i.n.c.AbstractChannelHandlerContext: Failed to mark a promise as failure because it has failed already: DefaultChannelPromise@33d78ec0(failure: java.nio.channels.ClosedChannelException), unnotified cause: java.nio.channels.ClosedChannelException
              at io.netty.channel.AbstractChannel$AbstractUnsafe.write(...)(Unknown Source)
      
      io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1
              at io.netty.buffer.AbstractReferenceCountedByteBuf.release0(AbstractReferenceCountedByteBuf.java:101) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.buffer.AbstractReferenceCountedByteBuf.release(AbstractReferenceCountedByteBuf.java:89) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.util.ReferenceCountUtil.release(ReferenceCountUtil.java:84) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.channel.AbstractChannel$AbstractUnsafe.write(AbstractChannel.java:793) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.channel.DefaultChannelPipeline$HeadContext.write(DefaultChannelPipeline.java:1291) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) [netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730) [netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:38) [netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:1089) [netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:1136) [netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:1078) [netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:442) [netty-all-4.1.9.Final.jar:4.1.9.Final]
              at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-all-4.1.9.Final.jar:4.1.9.Final]
              at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
      

      Similar log messages also show up in Bamboo i.e. https://bamboo.opennms.org/artifact/OPENNMS-ONMS/SMOKE/build-1179/Docker-Container-Overlays/AdminPageIT/OPENNMS/opennms-logs/eventd.log

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mvr Markus von RĂ¼den
                Reporter:
                j-white Jesse White
              • Votes:
                3 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: