Uploaded image for project: 'ovsdb'
  1. ovsdb
  2. OVSDB-352

potential memory leak in JsonRpcEndpoint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • unspecified
    • Library
    • None
    • Operating System: All
      Platform: All

    • 6157
    • High

      Summary:
      If the same OVSDB client repeatedly makes requests to read the OVSDB configuration, the methodContext hashmap keeps growing.

      Steps to reproduce:

      • add multiple ports/interfaces (>30) to OVSDB (using ovs-vsctl) so that the increase in memory consumption is easy to detect.
      • using a client, make requests to read the configuration in OVSDB repeatedly.
      • observe the memory growth of this test program using a tool like jstack.

      Some questions:

      • Is there a recommendation that the same OVSDB client should not be used for multiple requests?
      • Is there a way to reinitialize JsonRpcEndpoint for the same OVSDB client?

            Avishnoi Anil Vishnoi
            ashwinp.work@gmail.com Ashwin P
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: