Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3165

[avro-ipc-netty] NioEventLoopGroup leak in NettyTransceiver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.10.0, 1.10.1, 1.10.2
    • 1.11.0
    • java

    Description

      The NettyTransceiver is used on server and client side. While it requires a worker group on client side this is not necessary on server side.

      But as the worker group is initialized during the variable declaration. It is also created on the server for every new connection, but it gets never closed. This causes high off heap memory and always increasing open file descriptors.

      Moving the creation of the workger group into the constructor which is called on client side, solves the problem (deployed after the second 12:00 in above graph)

      I will provide a pr to fix.

      Attachments

        1. image-2021-06-30-07-53-20-767.png
          49 kB
          Benjamin Leber

        Issue Links

          Activity

            People

              Grisu118 Benjamin Leber
              Grisu118 Benjamin Leber
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: