Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-156

The Finisher queue size is unbounded and causes the controller to run out of memory under stress

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: Mac OS
      Platform: Macintosh

    • 985

    Description

      The TicketFinisher queue is unbounded (created with integer.MAX_VALUE). Now that the MD-SAL queues do backpresssure,the plugin's Finisher queue will grow indefinitely and cause the controller to run out of memory under stress.

      To reproduce, run the the cbench throughput test on a controller that uses the IF1.3 plugin, for example:

      cbench -c 192.168.162.1 -p 6633 -m 1000 -l 10 -s 16 -M 100000 -

      This bug is similar to OPNFLWPLUG-119

      The Finisher queue should be created with a max number of elements (say 500 or 1000). The max number of elements in the Finisher queue should be configurable.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmedved@cisco.com Jan Medved
            jmedved@cisco.com Jan Medved
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: