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

"Too many open files" IOException caused by too many pipe fds accumulated when create ovsdb client

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • Library
    • None
    • Operating System: Linux
      Platform: PC

    • 8350

    Description

      Everytime when create new connection by method "connectWithSsl", a new event loop will be created(line 149 in file library/impl/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbConnectionService.java) but it will never be shutted down; as a result of that, many pipe fds(used by event loop) are accumulated until raise "Too many open files" IOException.

      To solve the problem described above, suggests that create only one event loop for active client connection, and shutdown it gracefully at OvsdbConnectionService's close() method.

      p.s. The attachment file is a git-diff file of my solution about this issue.

      Attachments

        Issue Links

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

          Activity

            People

              rovarga Robert Varga
              guowang@baicells.com guowang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: