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


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

    • 8350

      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.

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